Secure Shell (SSH) allows you to connect to a remote host securely over an unsecured network.
Setting up SSH connectivity
Getting ready
To configure the Kali Linux machine for remote logins, we will start by changing the default root password and generating new SSH host keys.
How to do it...
To change the root password, use the passwd command as follows:
root@kali:~# passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
To generate new SSH host keys, the steps are also relatively straightforward: remove the current SSH host keys, use...