How To Configure SSH Services in Kali Linux

The Secure Shell (SSH)  service is most commonly used to remotely access a computer, using a secure, encrypted protocol. However, as we will see later on in the course, the SSH protocol has some surprising and useful features, beyond providing terminal access. The SSH service is TCP-based and listens by default on port 22. To start the SSH service in Kali, type the following command into a Kali terminal.


We can verify that the SSH service is running and listening on TCP port 22 by using the netstat command and piping the output into the grep command to search the output for sshd.


If, like many users, you want to have the SSH service start automatically at boot time, you need to enable it using the update-rc.d script as follows. The update-rc.d script can be used to enable and disable most services within Kali Linux.


Comments

Post a Comment