SSH (or OpenSSH in the linux world) is a program which works similar to telnet, except that it uses high encryption between client and server and enables tunneling for ie. the X-protocol. Telnet is a program which has existed for many years and is a nifty utility for connecting to a computer (the server) to use the terminal/console on the server.
With the X-forwarding built in is infact very simple for a client to connect to a server, start a program thrue terminal and the X-program pops up on the client (if client has X running) instead of server.
To use SSH, you first need to check that you have "sshd" (server app) running on the computers you'd like to connect to. The ssh-client (called surprisingly 'ssh') is installed on probably every linux distro so I don't think you should mind about that one.
So, let's say you sit on computer c1, and is going to connect to c2.
1. Check c2 has sshd up and running.
2. On c1 do:
Code:
user@c1# ssh -X user_on_c2@c2
Password:
Welcome to c2. Last login ??.??.?? ??:??
user_on_c2@c2# mozilla
...then mozilla will run from c2. The window will pop up on c1.
Of you have problems connecting you should perhaps also have a look into your firewall settings.
Good luck,
Jens