maandag 24 december 2012

Copy files over ssh using scp command

Just a quick reminder on how to copy files from a remote location or vice versa over an ssh connection.
Copy files from your local computer to a remote server
scp somefile username@server:/home/username/
Copy files from a remote server to your local computer
scp username@server:/home/username/file_name /home/local-username/file-name
Original source: http://www.garron.me/linux/scp-linux-mac-command-windows-copy-files-over-ssh.html

Geen opmerkingen:

Een reactie plaatsen