How to install SSH server on Xubuntu 16.04

How to install SSH server on Xubuntu 16.04

You need to install ssh server in your xubuntu, if you want to access your xubuntu remotely from other computer within the network. In this article i will show you how to install ssh server on xubuntu 16.04.

To have ssh server on your xubuntu, you need to install package called openssh-server, this package is part of official xubuntu repository, so you can install from command line like this:
sudo apt-get install openssh-server
To connect to ssh server you need to know the ip address of computer where the ssh server service is running, in this case your own computer, because you install the open ssh server on your own machine.

Normally you connect to ssh server from other computer/machine, but just for testing, why don't you connect to ssh server using your own computer which running the ssh server, the ip address should be 127.0.0.1 or localhost.

You can connect to ssh server like this:
ssh username@ip-address
Example:
ssh jenny@192.168.0.12
ssh john@10.11.0.125
When connecting to ssh server, you are not only limited to computers only, if you want you can also connect to ssh server using smartphones like android or ios. You can find plenty of ssh client app on playstore and apple store.

How to uninstall ssh server
In case you don't need ssh server and you want to remove it from your xubuntu, you can run this command that will uninstall open ssh server.
sudo apt-get purge openssh-server
sudo apt-get autoremove

Share this

Previous
Next Post »