Type the ssh command, and specify the name of the remote host and your login.
mySystem% ssh myRemoteHost -l username
A prompt might appear that question the authenticity of the remote host:
The authenticity of host 'myRemoteHost' can't be established. RSA key fingerprint in md5 is: 04:9f:bd:fc:3d:3e:d2:e7:49:fd:6e:18:4f:9c:26 Are you sure you want to continue connecting(yes/no)?
This prompt is normal for initial connections to remote hosts.
Are you sure you want to continue connecting(yes/no)? no
The administrator is responsible for updating the global /etc/ssh/ssh_known_hosts file. An updated ssh_known_hosts file prevents this prompt from appearing.
Are you sure you want to continue connecting(yes/no)? yes
Enter passphrase for key '/home/username/.ssh/id_rsa': <Type passphrase>
username@myRemoteHost's password: <Type password> Last login: Wed Sep 7 09:07:49 2011 from myLocalHost Oracle Corporation SunOS 5.11 September 2011 myRemoteHost%
The commands that you send are encrypted. Any responses that you receive are encrypted.
When you are finished, type exit or use your usual method for exiting your shell.
myRemoteHost% exit myRemoteHost% logout Connection to myRemoteHost closed mySystem%
In this example, jdoe is the initial user on both systems and is assigned the Software Installation rights profile. jdoe wants to use the Package Manager GUI on the remote system. The default value of the X11Forwarding keyword is still yes, and the xauth package is installed on the remote system.
% ssh -l jdoe -X myRemoteHost jdoe@myRemoteHost's password: password Last login: Wed Sep 7 09:07:49 2011 from myLocalHost Oracle Corporation SunOS 5.11 September 2011 myRemoteHost% packagemanager &