Thursday, November 9, 2017

How to install ssh server on Lubuntu 17.10

How to install ssh server on Lubuntu 17.10

You can install ssh server on your computer so that you can access it remotely with other device as long as they are on the same network. In this article i will show you how to install ssh server and also how to use it on lubuntu 17.10 artful.

To make ssh connection you need a server that running ssh service and a client which will be your computer or device that has ssh client on it. By default lubuntu already comes with ssh client command line tool.

So if you wish your computer to run ssh service then you need to install ssh server, and the best one is open ssh server which available on lubuntu official repository.

How to install SSH server on Lubuntu 17.10
  • open command line/terminal on lubuntu
  • run update command
  • sudo apt-get update
  • install open ssh server
  • sudo apt-get install openssh-server
  • check the status of open ssh server, make sure it's active/running
  • sudo service ssh status
  • done!


How to start, stop, restart SSH server
start ssh server
sudo service ssh start

stop ssh server
sudo service ssh stop

restart ssh server
sudo service ssh restart

check status ssh server
sudo service ssh status


How to connect to SSH server
To connect to ssh server all you need is a ssh client which already comes with lubuntu installation. You will also need username and password, the username and password comes from user that exist on the ssh server.

ssh [username]@[hostname/ip address]
Example:
ssh samantha@localhost
ssh james@192.168.0.22

No comments:

Post a Comment