1. Copy from local host to remote host
scp /path/to/source-file user@remotehost:/path/to/destination-folder/
2. Copy from remote host to local host
scp username@remotehost:filename /some/local/folder
3. Copy from remote host to remote host
scp username@remotehost1:/some/remote/folder/filename \ username@remotehost2:/some/remote/folder/
0 comments:
Post a Comment