Difference between revisions of "Scp"

From Useful Things
Jump to: navigation, search
(Created page with "== Common arguments == <code>-r</code> recursive<br /> <code>-P</code> port number (default 22) == Push a file == <source lang="bash"> scp ./path/to/source user@host:/path/to...")
 
(No difference)

Latest revision as of 01:40, 4 July 2014

Common arguments

-r recursive
-P port number (default 22)

Push a file

scp ./path/to/source user@host:/path/to/destination

Pull a file

scp user@host:/path/to/source ./path/to/destination