SSH

From Useful Things
Revision as of 12:02, 30 June 2014 by Milosivanovic (talk | contribs)
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