Difference between revisions of "SSH"
From Useful Things
| Line 1: | Line 1: | ||
| + | == Common arguments == | ||
| + | <code>-r</code> recursive<br /> | ||
| + | <code>-P</code> port number (default 22) | ||
| + | |||
== Push a file == | == Push a file == | ||
<source lang="bash"> | <source lang="bash"> | ||
Revision as of 12:02, 30 June 2014
Common arguments
-r recursive
-P port number (default 22)
Push a file
scp ./path/to/source user@host:/path/to/destinationPull a file
scp user@host:/path/to/source ./path/to/destination