Scp

From Useful Things
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