Basic secure file copying using SCP


Securely copy a file from one computer to another (in this example on my local network):
$ sudo scp stuart@192.168.1.100:Downloads/somefile.iso /home/stuart/downloads

This will copy the file somefile.iso that is in my remote computer’s home dir’s Download directory ~/Downloads/ or put another way as the remote computer is a Mac /Users/stuart/Downloads/ over to the local computer’s dir at /home/stuart/downloads/

     
  1. No comments yet.
(will not be published)