wiki:example_syntax_for_secure_copy_scp
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:example_syntax_for_secure_copy_scp [2017/03/10 10:33] – created walkeradmin | wiki:example_syntax_for_secure_copy_scp [2017/03/10 10:51] (current) – walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Example syntax for Secure Copy (scp) ====== | ====== Example syntax for Secure Copy (scp) ====== | ||
| + | <color darkorange> | ||
| + | \\ | ||
| + | \\ | ||
| - | + | ---- | |
| - | + | ||
| - | Example syntax for Secure Copy (scp) | + | |
| What is Secure Copy? | What is Secure Copy? | ||
| + | \\ | ||
| + | \\ | ||
| scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh. | scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh. | ||
| + | \\ | ||
| + | \\ | ||
| Examples | Examples | ||
| + | \\ | ||
| + | <sxh [txt][; options for SyntaxHighlighter]> | ||
| Copy the file " | Copy the file " | ||
| $ scp your_username@remotehost.edu: | $ scp your_username@remotehost.edu: | ||
| + | </ | ||
| + | \\ | ||
| + | <sxh [txt][; options for SyntaxHighlighter]> | ||
| Copy the file " | Copy the file " | ||
| $ scp foobar.txt your_username@remotehost.edu:/ | $ scp foobar.txt your_username@remotehost.edu:/ | ||
| + | </ | ||
| + | \\ | ||
| + | <sxh [txt][; options for SyntaxHighlighter]> | ||
| Copy the directory " | Copy the directory " | ||
| $ scp -r foo your_username@remotehost.edu:/ | $ scp -r foo your_username@remotehost.edu:/ | ||
| + | </ | ||
| + | \\ | ||
| + | <sxh [txt][; options for SyntaxHighlighter]> | ||
| Copy the file " | Copy the file " | ||
| $ scp your_username@rh1.edu:/ | $ scp your_username@rh1.edu:/ | ||
| your_username@rh2.edu:/ | your_username@rh2.edu:/ | ||
| + | </ | ||
| + | \\ | ||
| + | <sxh [txt][; options for SyntaxHighlighter]> | ||
| Copying the files " | Copying the files " | ||
| $ scp foo.txt bar.txt your_username@remotehost.edu: | $ scp foo.txt bar.txt your_username@remotehost.edu: | ||
| + | </ | ||
| + | \\ | ||
| + | <sxh [txt][; options for SyntaxHighlighter]> | ||
| Copy the file " | Copy the file " | ||
| $ scp -P 2264 foobar.txt your_username@remotehost.edu:/ | $ scp -P 2264 foobar.txt your_username@remotehost.edu:/ | ||
| + | </ | ||
| + | \\ | ||
| + | <sxh [txt][; options for SyntaxHighlighter]> | ||
| Copy multiple files from the remote host to your current directory on the local host | Copy multiple files from the remote host to your current directory on the local host | ||
| $ scp your_username@remotehost.edu:/ | $ scp your_username@remotehost.edu:/ | ||
| $ scp your_username@remotehost.edu: | $ scp your_username@remotehost.edu: | ||
| - | scp Performance | + | </ |
| + | \\ | ||
| + | \\ | ||
| + | ---- | ||
| + | ==== scp Performance ==== | ||
| + | \\ | ||
| + | \\ | ||
| By default scp uses the Triple-DES cipher to encrypt the data being sent. Using the Blowfish cipher has been shown to increase speed. This can be done by using option -c blowfish in the command line. | By default scp uses the Triple-DES cipher to encrypt the data being sent. Using the Blowfish cipher has been shown to increase speed. This can be done by using option -c blowfish in the command line. | ||
wiki/example_syntax_for_secure_copy_scp.1489142029.txt.gz · Last modified: (external edit)
