How to install SSH Server in Ubuntu Linux

Install SSH server packages for Ubuntu
user@ubuntu:~$ sudo apt-get install ssh
The above command will install the packages for SSH server in Ubuntu linux

Start ssh service
user@ubuntu:~$ sudo /etc/init.d/ssh restart

Important: By default ssh server will listen on port tcp/22. So need to open tcp/22 port in firewall or disable the firewall(disabling firewall is insecure for servers).

Connect to SSH server from other linux distros
Syntax:  #ssh <username>@<ip address>
eg:  user@ubuntu:~$ ssh sc@

Connect to SSH server from Windows OS
***Download ssh client "putty" from HERE***
And type the SSH server ip address and hostname as below screenshot and click "open"

Was this helpfull ?


Related Posts Plugin for WordPress, Blogger...

Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons