SSH is a Secure SHell which can be used in the place of telnet to connect to a remote machine. The advantage of using ssh over telnet is that communication and data transfer between the local machine and the remote machine occurs in a secure encrypted tunnel. So no one will be able to snoop on your data.These are a few tips in using this program.
Connect to remotehost and tunnel all X traffic over the encrypted connection.
To see how this works, run the command as follows :
$ ssh -X remotehost
…and then run xeyes when you get your shell prompt on the other machine. Notice how it automatically displays on your own X server.