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

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

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?
 

shabbs

Senior Member
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?
 

Daniel LaRusso

Occasional Visitor
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.
 

HorseCalledHorse

Occasional Visitor
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/
 

Jeffrey Young

Senior Member
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).
 

bluzfanmr1

Senior Member
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.
 

XIII

Very Senior Member
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).
 

Daniel LaRusso

Occasional Visitor
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