Transfer files between Linux Server using scp Print

  • 0

To transfer file securely between 2 Linux server with scp command

scp -P 22 *.* root@remoteserver.com:/root/

 

-P 22 = using port 22. If you have change the sshd port, you must change this accordingly

*.* = all the file inside the working directory

root@remoteserver.com = the user and the remote server

:/root/ = the location where the file should save to


Was this answer helpful?

« Back