How to use Kali Linux SSH Server and client

Kali Linux SSH Server

Kali Linux SSH server is installed by default. you need to just start, stop and restart service to activate it . As you know very well Kali Linux operating system is used for penetration testing and Security auditing, by using it can transfer files secure with its clients. you can configure in Kali Linux easily.

Do you want to know more about Kali Linux ssh server? Continue Reading ..

What is Secure shell Server?

ssh stand for Secure Shell is a more secure method of accessing file system of Kali Linux remotely. It make a secure and encrypted communication channel between computers. By the help of secure shell pen tester can transfer files occur without being inspected by network security tool for example IDS (Intrusion Detection System) IPS (Intrusion Prevention System).

Generating  Keys for Kali Linux SSH Server

Encryption keys must be needed to create secure and encrypted session between computers and use securely. The following command is used to generate these keys in Kali Linux.

First move the original keys form their default directory into new directory, however don’t delete them.

#mkdir –p /etc/ssh/original_keys

#mv /etc/ssh/ssh_host_* /etc/ssh/original_keys

#cd /etc/ssh

Generate new keys

#dpkg-reconfigure openssh-server

Start and Restart the Kali Linux SSH Server

#service ssh start

#service ssh restart

Using GUI To Start, Stop, and Restart Kali Linux SSH Serverservice

The Secure shell server is incorporated with the principle document structure of the Kali GUI and is got to in the same way that the Apache server is begun or ceased. To access the menu, select Applications from the bar at the highest point of the Kali screen. Starting from the drop that is exhibited select Kali Linux, an activity that will result in a submenu to be shown. From this menu select System Services, which will show an alternate menu, select the SSH alternative on the fly-out menu. This will show the choices to start, stop, and restart the SSH services.

SSH Server In Kali Linux-image01

Start, Stop, and Restart SSH service by Command prompt 

Command Line is a easiest way to start stop and restart this service. to be performed, start, stop, or restart service by following command

SSH Server In Kali Linux-image02

#/etc/init.d/ssh start

#/etc/init.d/ssh stop

#/etc/init.d/ssh restart

Another commands to start, stop or restart the services

SSH Server In Kali Linux-image03

#service ssh start

#service ssh stop

#service ssh restart

Accessing the Remote System Online over secure shell

When the configuration done and service is running on the Kali Linux System, the system can be accessed remotely from Linux system by entering following command

SSH Server In Kali Linux-image04

#ssh username@IP_address_Of_Server

Access Remote System by PUTTY SSH client in Window 10

Do you want to access kali linux system remotly  by Window clients. you will require extra tools like putty that is available from

SSH Server In Kali Linux-image05

Thanks for reading full article, I hope you liked it. If yes then share on social media, if No, Please tell what would be added in this artcle by writing comment.

Thanks and Cheers!


Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.