18.104.22.168. Secure copy (SCP)
Another option for transferring files between two computer with SSH is using the command
. This attempts to use the same syntax as the tradition copy command (
), but differs in that you can specify remote servers. For example, to send a file to a remote server, type
You can similarly fetch a file:
[email protected]:/path/to/wantedfile destinationFile
Or even between two remote servers:
In every case that you access a remote server, you will be prompted for your credentials (such as a username and password).