Secure copy to another Host

if you want to copy a file to another server that runs ssh you can use scp like this:

scp /home/user/file

if your ssh server runs on another port use this :

scp -P 9999 /home/user/file

changing  ssh port see here.

Leave a Reply

Your email address will not be published.

three × 5 =