Transfer File or Folder From Server1 to Server2 Remotely in Ubuntu using scp command

Date Published: 30/07/2021Published By: JaiSchool

Transfer a file

scp -P 22 /var/www/html/cmdtest.zip [email protected]:/var/www/html

Transfer entire directory

scp -r /var/www/html/totransfer [email protected]:/var/www/getremote

Publish A Comment

Leave a Reply

Your email address will not be published.