Posts Tagged sshd

How to install sshd

Install
To install both ssh client and server, type the following command

sudo apt-get install openssh-server openssh-client

How to Configuration
You need not have to worry about it. The SSHD Service is automatically started. Now you go ahead and test whether it is working or not.

How to Test
You can do the test either from the same computer or different computer. If you are testing from the same computer, type the following command.

ssh localhost

or if from different computer, type the following command.

ssh user@your-server-ip-address

How do I use ssh client?
Assuming that your server hostname is username.domain.com and username is abc, you need to type the following command:

ssh abc@username.domain.com

To stop ssh server, enter:

sudo /etc/init.d/ssh stop

To start sshs server, enter:

sudo /etc/init.d/ssh start

To restart ssh server, enter:

sudo /etc/init.d/ssh restart

Leave a Comment