What's new

Error with SSH

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Ferrarista

Occasional Visitor
I have an Asus AX88U with the Merlin 388.4 firmware. I have just reset it to factory settings (and then restored manually all the settings including the VPN). When trying to access the router remotely with SSH (via VPN) I'm getting the following error

Code:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ED25519 key sent by the remote host is
SHA256:xxx.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /root/.ssh/known_hosts:2
  remove with:
  ssh-keygen -f "/root/.ssh/known_hosts" -R "[192.168.2.1]:40000"
Host key for [192.168.2.1]:40000 has changed and you have requested strict checking.
Host key verification failed.

What's wrong???
 
I have an Asus AX88U with the Merlin 388.4 firmware. I have just reset it to factory settings (and then restored manually all the settings including the VPN). When trying to access the router remotely with SSH (via VPN) I'm getting the following error

Code:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ED25519 key sent by the remote host is
SHA256:xxx.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /root/.ssh/known_hosts:2
  remove with:
  ssh-keygen -f "/root/.ssh/known_hosts" -R "[192.168.2.1]:40000"
Host key for [192.168.2.1]:40000 has changed and you have requested strict checking.
Host key verification failed.

What's wrong???
I know that on new installs, my PuTTY will complain that the signature doesn't match with what is was connecting with before, and just downloads/saves a new one. Then it never complains again. Could it be something similar? What are you using to connect to SSH?

Have you tried running that command?
 
Not yet, as I thought there was something to worry about.

To connect I'm using an Ubuntu shell under Windows 11 from remote (I'm not inside the physical network).
 
Not yet, as I thought there was something to worry about.

To connect I'm using an Ubuntu shell under Windows 11 from remote (I'm not inside the physical network).
I would probably assume isn't not an attack, but as it mentioned, the host key just changed due to your factory reset.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top