A small description about ssh for you:
1.to make your system an ssh-server:
#apt-get install openssh-server
2. By default, each ubuntu system will be installed with openssh-client. So, u need not do anything in the client side. The ssh environment is ready now.
3. Now, from client system,
eg. ssh root@sshserver
eg2. ssh sam@sshserver
Issue the appropriate password, and you are in the ssh server now.
4. Other useful details about ssh:
You can see a directory named .ssh in each user's home directory (provided there was a successful ssh login before). You may find out the use of known_hosts file you see inside the .ssh directory from the internet.
You can restrict root user access to your ssh server by editing the following file in your
ssh server: /etc/ssh/sshd_config
In this file, change the following directive from yes to No.
Last edited by saagar; 04-18-2010 at 12:12 PM.