95
scp -r user@your.server.example.com:/path/to/foo /home/user/Desktop/
81
Host test User testuser HostName test-site.com Port 22022 Host prod User produser HostName production-site.com Port 22022
scp -r prod:/path/foo /home/user/Desktop # copy to local scp -r prod:/path/foo test:/tmp # copy from remote prod to remote test
scp test:/var/log/ # press tab twice Display all 151 possibilities? (y or n)
71
scp -r /path/from/local username@hostname:/path/to/remote
scp -r username@hostname:/path/from/remote /path/to/local
scp -r -P xxxx username@hostname:/path/from/remote /path/to/local
scp -r username@hostname:/path/from/remote .
69
scp -r username@IP:/path/to/server/source/folder/ .
60
tar czfP backup.tar.gz /path/to/catalog
scp user@your.server.example.com:/path/to/backup.tar.gz .
tar -xzvf backup.tar.gz