Monday, June 7, 2010

SSH commands

To connect from your local machine:
ssh -l username ipaddresss
  
To copy a file to a directory on a remote system:
scp filename username@host:path
 
filename - the name of the file to be uploaded to the remote system,
username - the name of user account to be used to log into the remote system,
host - the real IP address or hostname of the system,
path - the directory into which the file should be copied.
 
To copy from the remote system to the local system:
scp username@ehost:path/filename


source: http://www.techotopia.com/index.php/Configuring_Ubuntu_Linux_Remote_Access_using_SSH

No comments:

Post a Comment

Day 03 Gala Dinner Highlight Video