Skip to content

Level 19

Level 19


  1. SSH to bandit18
  2. Read the password from file readme

Objective 1

  • Username: bandit18
  • Password: kfBf3eYk5BPBRzwjqutbbfE887SVc5Yd
  • Port: 2220
  • IP/Hostname:
user@localhost:~$ ssh -p 2220

Successfully connected, but disconnected immediately.

Objective 2

After we determined that the password was indeed the correct password from the last level, we now need to deal with a .bashrc that disconnects us immediately when we connect with SSH.

We know that the file is name readme in the home directory, so let's read that file by using SSH to send commands for us.

user@localhost:~$ ssh -p 2220 'cat readme'
This is a OverTheWire game server. More information on's password: 

Last update: September 28, 2022 07:59:55