scp copy directory to another server with private key auth

The Solution to scp copy directory to another server with private key auth is


or you can also do ( for pem file )

 scp -r -i file.pem [email protected]:/home/backup /home/user/Desktop/

~ Answered on 2016-09-07 06:09:17


Most Viewed Questions: