Thursday, April 2, 2009

Securely copying files to another machine

Fast post about copying files between computers over a secure connection.

Linux and Cygwin comes with scp, a secure version of cp.

Usage... in this case I'm copying a file from my cygwin (putty) terminal to a remote machine.

scp /cygdrive/c/Documents and Settings/myname/My Documents/interestingfile.txt usernameonmachine@1.2.3.3:/home/usernameonmachine/


You should get a password prompt and see the transfer complete as follows.

interestingfile.txt 100% 34KB 34.3KB/s 00:00

No comments: