How to install SSH server in Ubuntu
By Koder at Mon, 07/13/2009 - 09:45
The following was tried and tested on the latest Long Term Support Ubuntu distribution of Ubuntu 8.10 with Kernel version 2.6.27-7 but the process is largely the same for any major Ubuntu distribution.
- Open a terminal window (click on Applications -> Accessories -> Terminal)
- Check to see if sshd is already installed by typing sshd
- As per the instruction type "apt-get install ssh openssh-server" without the quotes to start the install, type in the root password as asked by sudo
- Apt will now download and install the server, when finished you will see the [OK] prompt
- Determine the ip address of this machine by typing "ifconfig" (without quotes) and hit enter, the ip address is shown next to the "inter addr" string.
You are now ready to use a SSH client like Putty to connect to this ip address using SSHD