Login :

  • ssh : ssh bandit0@bandit.labs.overthewire.org -p 2220
  • password : bandit0

Task :

  • in this level the goal is to try to log in using SSH with the provided credentials

Theory :

  • SSH (secure shell protocol) , is a network protocol used to remotely connect to another machine .

  • In Linux, you can remotly connect to another machine using the command ssh with :

    • ssh <username>@<server> -p <port>
      • the parts with <..> needs to be replaced with the correct informations
    • the <server> needs to be replaced with the valid URL or the IP address
    • the -p is used to be able to set the correct port

Solution :

the informations provided will lead you to the following command :

ssh bandit0@bandit.labs.overthewire.org -p 2220

with this command you will be prompted for the password. after successful log in using the command you’d find the file readme which you’d read using the command cat to get the password of the next level