OverTheWire: Bandit Level 0

The Bandit wargames are aimed at absolute beginners. It will teach the basics needed to be able to play other wargames.

Level Goal

The goal of this level is for you to log into the game using SSH. The host to which you need to connect is, on port 2220. The username is bandit0 and the password is bandit0. Once logged in, go to the Level 1 page to find out how to beat Level 1

Commands you may need to solve this level


> whatis ssh   
ssh (1) - OpenSSH remote login client

Helpful Reading Material

Secure Shell - Wikipedia

How to Use SSH (with Pictures) - wikiHow

Known Information

  • Username: bandit0
  • Hostname:
  • Port: 2220
  • Password: bandit0


Open Terminal (On Windows use PowerShell)

To login into Level 0 we have to use the SSH command

SSH Command: ssh <username>@<hostname> -p <port>

Note: If asked to accept any fingerprint type “yes” and press Enter

When asked for a password type bandit0 and press Enter

> ssh -p 2220   
This is a OverTheWire game server. More information on's password: bandit0

If the login was successful you will see a banner that looks as follows:

Logged into Level 0

To quit the SSH session type exit or use the keyboard shortcut Ctrl + D

This post is licensed under CC BY 4.0 by the author.