Level Goal

The password for the next level is stored in /etc/bandit_pass/bandit14 and can only be read by user bandit14. For this level, you don’t get the next password, but you get a private SSH key that can be used to log into the next level. Note: localhost is a hostname that refers to the machine you are working on.

Solution

Password: 8ZjyCRiBWFYkneahHwxCv3wb2a1ORpYL

Now we’re told we have a private key that we need to log in to the next level. We could just cat it then copy and paste it into a file, but let’s be a little more creative. First, let’s see what we have.

Let’s exit out of our SSH session and securely copy the file to our computer.

We’ve now got the SSH private key for next level.

Bazinga.