0

I remember playing the Bandit War game in uni, so I felt like giving it another shot this weekend to refresh some knowledge.

Aaaand im Stuck on level0. But I am quite certain this is the correct command, so I am wondering if I am missing something or there can be some kind of configuration issue?

Level 0 gives you the address, the username, the port and the password. So you do an old-school login without any files etc.

This is what I went for:

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

Also tried

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

but that should be the same.
I would expect to be prompted for the password, but instead I get

This is a OverTheWire game server. More information on http://www.overthewire.org/wargames

bandit0@bandit.labs.overthewire.org: Permission denied (publickey,password).

4

1 回答 1

0

Check your ssh-config in case you are stuck like me.
I had these lines among it

Host *
  PreferredAuthentications publickey

this is why it did not work. Add the wargame server and switch to the preferred method of authentication for a given level.

于 2021-10-15T14:27:49.183 回答