- To connect to a remote host with the SSH server running, use the following command:
$ ssh username@remote_host
The options in this command are as follows:
- username is the user that exists at the remote host
- remote_host can be the domain name or IP address
Consider this example:
$ ssh mec@192.168.0.1 The authenticity of host '192.168.0.1 (192.168.0.1)' can't be established. RSA key fingerprint is 2b:b4:90:79:49:0a:f1:b3:8a:db:9f:73:2d:75:d6:f9. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.0.1' (RSA) to the list of known hosts. Password: Last login: Fri Sep 3 05:15:21 2010 from 192.168.0.82 mec@proxy-1:~$
SSH will ask for a password, and upon successful ...