OverTheWire: Bandit - Level 0
Level Goal
The goal of this level is to log into the game using SSH. Once logged in, go to the Level 1 page to find out how to beat Level 1.
Connection Details
-
Username:
bandit0
-
Password:
bandit0
-
Hostname:
bandit.labs.overthewire.org
-
Port:
2220
Commands You May Need
-
ssh
– OpenSSH remote login client
What is SSH?
SSH (Secure Shell) is a cryptographic network protocol for operating network services securely over an unsecured network. It’s commonly used to remotely log into machines, transfer files, and execute commands securely.
Solution Steps
-
Open Terminal
- On Windows, use PowerShell or Command Prompt.
- On Linux/macOS, use the built-in terminal.
Execute SSH Command:
ssh bandit0@bandit.labs.overthewire.org -p 2220
- Fingerprint Prompt: If prompted to accept the server's fingerprint, type:
yes
- Password Prompt: Enter the password:
bandit0
- Successful Login: You should see a banner like:
This is an OverTheWire game server. More information on http://www.overthewire.org/wargames
-
To Exit SSH:
Type
exit
or useCtrl + D
.
Helpful Tips
- Ensure your internet connection is stable before connecting.
- If the connection hangs, try re-running the SSH command.
- Double-check the port number
-p 2220
— it's not the default SSH port.
Next Step
Once you’ve successfully logged in, proceed to Bandit Level 1 to continue.
Top comments (0)