linuxBandit Level 13 β†’ Level 14

List the files in the home directory, and read the contains the ssh key:

ls
cat file

So we cannot only authenticate with SSH via password, but also we can use RSA keys.

Save this file into our Kali machine:

Vim is file editor.

We need to change the permissions in order to authenticate with SSH:

-rw-------

Now it is only readable and writable by the owner.

Connect to the bandit server with the user bandit14 without specifying any password just the id_rsa:

Here is the password.

Last updated