-3

Unable to connect, And not sure how many ways I can type "bandit0" for a password

Praney Pareek
  • 49
  • 1
  • 5
  • **DO NOT post images of code, data, error messages, etc.** - copy or type the text into the question. [ask] – Rob Jun 17 '23 at 18:02

2 Answers2

0

ssh is not telnet with its general syntax of telnet server port. I believe even in Windows the basic usage of ssh is like:

ssh [-p port] [user@]server [command]

You did ssh bandit0@bandit.labs.overthewire.org 2220. You connected to the default port (22) and 2220 was the command.

It so happens there is a server on port 22, but this is not the server that accepts the credentials you know.

The command 2220 was never invoked because you failed to authenticate in the first place. Instead of 2220 it could have been anything, it wouldn't be invoked either.

You want to connect like this:

ssh -p 2220 bandit0@bandit.labs.overthewire.org
Praney Pareek
  • 49
  • 1
  • 5
0

if you do not have this problem "Too many authentication failures", use this:

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

if you are a windows user, it is better to use PuTTY than cmd.exe to play this game:

host name: bandit.labs.overthewire.org

port: 2220

open

login as: bandit0

password: bandit0

done


Arthur
  • 21
  • 4