Friday, December 01, 2006

SCP

To Copy file from local machine to remote machine:

scp filename user@remoteMachine:/path/to/destination/dir

To copy file from remote machine to local machine

scp userName@remoteMachine:/path/to/filename fileName (the rename the file on local machine)