I've been learning how to brute force my own router password through medusa and I've encountered the following error:

NOTICE: ssh.mod: failed to connect, port 22 was not open on

note that I use my router's ip is, so how do I open this SSH port 22 for it?

Linux dist that I use:

  • DISTRIB_ID=LinuxMint
  • DISTRIB_DESCRIPTION="Linux Mint 19 Tara"

Thanks in advance

  • 1
    So are you saying your router is running Linux mint? How can run a command on your router if you can't ssh to it? I think you should give more informations, especially to tell who is running what. Also a link to what is medusa would help in this question (github.com/jmk-foofus/medusa). – A.B Oct 13 '19 at 21:33
  • if your router is capable of running an sshd, you'll need to login to it and enable that service. so you'll need the admin login and password for it. which is, i guess, why you're trying to brute-force the password. – cas Oct 15 '19 at 2:22
  • did you lose or forget the password, or was it never supplied to you? does your router have a reset button that will reset it to a default config and a known default password? reset and re-config (including changing the password) is much easier and more likely to work than brute-forcing it even if it was running an sshd. – cas Oct 15 '19 at 2:24
  • btw, what brand and model is the router? is it running stock firmware or have you installed openwrt or similar on it? try googling for "brand model default password". – cas Oct 15 '19 at 2:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.