Practical Web Programming

Thursday, November 14, 2013

How to scp (Secure Copy) File from a Server to Local Machine

The console command below will copy the file from the remote server to the desktop using the same filename.


scp root@remote_server:/var/lib/backup/server_backup.gz ~/Desktop


where: 
root = the user to that server
remote_server = host entry in you ~/.ssh/config file

0 comments:

Recent Post