OverTheWire: Bandit Level 0


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 bandit.labs.overthewire.org, 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

Known Information

  • Username : bandit0
  • Hostname : bandit.labs.overthewire.org
  • Port : 2220
  • Password : bandit0


Open Terminal (On Windows use PowerShell)

To login into Level 0 we have to make use of SSH command.

To start a SSH session type the command :
ssh <username>@<hostname> -p <port> and press Enter

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

When asked for password enter bandit0 and press Enter

> ssh bandit0@bandit.labs.overthewire.org -p 2220 
This is a OverTheWire game server. More information on http://www.overthewire.org/wargames
bandit0@bandit.labs.overthewire.org’s password: bandit0

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

OverTheWire Bandit SSH Login Banner

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




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Legal Method for Legal Hackers

How I was able to take over any users account with host header injection

Password reset form

Smart Contract Security Newsletter #33

Insecure Java Deserialization

Back It Up, Backin’ Up

Using Google Chat for Elastic Security Alerts

A Solution to Compression Oracles on the Web

The (Unofficial) Three-step SSN Application Guide for International Students in Cambridge

David Varghese

David Varghese

More from Medium

Should we target zero false positives?

How to set up a CI/CD pipeline for ROS robots using Airbotics


Manipulating Linux text files with the sort and uniq commands