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@192.168.10.50
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"
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@192.168.10.50
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"
0 comments:
Post a Comment