I'm dual booting Windows and Ubuntu, and I am using a program that sends commands via SSH for Ubuntu. I decided to apply the same when I am on Windows but the problem is obviously, they both have the same IP (ssh user@IP) and with that I am receiving MITM Attack warning and can't get through.

I tried using ssh user@hostname but after entering the password I get, Permission Denied.

Show me some workaround please?


Try running ssh server on different ports, maybe that will help.

Say Linux on port 22 and Windows on port 222.

Another idea is to copy the same ssh fingerprint/ public key across Linux and Windows.

| improve this answer | |
  • 1
    “copy the same ssh fingerprint/ public key” Especially the private key would be needed. – Melebius Jul 10 '19 at 12:30

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.