What's new

Upgraded to Merlin 386.1 but got "warning: remote host identification has changed" when trying to SSH into the router

  • 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!

Daniel LaRusso

Occasional Visitor
I realize that I have to delete the offending key, I've tried to do that with the "ssh-keygen -R [192.168.X.X]port#," but my mac just states that the hostname is not found. Any thoughts?
 
I got that too. Was coming from 384.19 and have seen that before with other FW updates.

Is it not prompting you to accept the new key?
 
I got that too. Was coming from 384.19 and have seen that before with other FW updates.

Is it not prompting you to accept the new key?

Yes. I tried using ssh-keygen, but it didn't recognize, so I had to go into vim and delete the offending line. This is completely new to me so I had to do some searching on YT and Google, but it now works.
 
On a Mac you could also use Go to Folder in the Finder to delete the known_hosts file you'll find there.

Go to:

/Users/Username/.ssh/
 
On a Mac you could also use Go to Folder in the Finder to delete the known_hosts file you'll find there.

Go to:

/Users/Username/.ssh/

It is the same with Windows. Either delete known_hosts or edit the file and remove the router IP line (if like me and you 5 or so other machines I ssh into).
 
I don't want to delete the entire key file on my Mac so I edit it:
Code:
sudo nano /Users/YourUserName/.ssh/known_hosts
Move to line of device you want to delete and type Ctrl-k
Type Ctrl-x
Type y
Now next time you log in it will prompt you to add your new key.
 
On the Mac it should also be possible to run ssh-keygen -R to remove the router entry:

-R hostname | [hostname]:port
Removes all keys belonging to the specified hostname (with optional port number) from a known_hosts
file. This option is useful to delete hashed hosts (see the -H option above).
 
On the Mac it should also be possible to run ssh-keygen -R to remove the router entry:

Yes, that was the first action I undertook, but unfortunately, it didn't work for some reason. I had to manually delete the offending line.
 

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