Scp

From Useful Things
Revision as of 01:40, 4 July 2014 by Milosivanovic (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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