Thursday, September 1, 2016

How to install open SSH server on Ubuntu

If you want to use ssh on remote computer, you need to install ssh server on that remote computer, assuming the remote computer is using ubuntu.
To install ssh server on ubuntu, simply run this command:
sudo apt-get install openssh-server
If you just want to connect to a server via ssh, you don't need to install ssh server, what you need is ssh client, which if you are using ubuntu, it's already there.

To connect to ssh server, simply run this command:
ssh [username]@[ssh-server-ip-address]
for example:
ssh michael77@
ssh user1@
ssh root@
When you connect to ssh server using ssh command, normally you will be prompted for password, the password is password of the user that you use to connect to ssh server.

So basically if you create a new user on the ssh server, that new user will be available for ssh login. 

You can also connect to ssh server using other operating system, such as windows, mac, or even smartphone, you just need to find ssh client that available on those operating system.

No comments:

Post a Comment