Linux Capture The Flag Bandit Level 13
Press enter or click to view image in full size
Bandit Level 13 introduces a new way to authenticate with SSH — using a private key instead of a password. Along the way, you’ll also learn how to securely copy files between machines using SCP and how to manage file permissions with chmod. These are skills that come up constantly in real-world Linux work, penetration testing, and system administration.
If you’re curious what the previous levels were like, make sure to check out the last capture the flag challenge levels.
If you’d like to follow what I did via video, feel free to check it out on YouTube below:
The Challenge
The password for Level 14 is stored at /etc/bandit_pass/bandit14, but it can only be read by the user bandit14. Instead of giving you the password directly, this level gives you a private SSH key that lets you log in as bandit14. Our job is to find that key and use it.