Solved

Net::SSH::HostKeyMismatch

Posted on 2012-03-15
2
548 Views
Last Modified: 2012-03-15
I have been using ssh into a machine that is currently port forwarding ssh, I had the change the outside port to a different one and now I am getting a
Net::SSH::HostKeyMismatch
fingerprint (fingerprint) does not match "[ip of machine]:(outside port)"

Where can I delete this entry and/or change it?

Thanks

Ubuntu10 OS
0
Comment
Question by:progjm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 37724893
It sounds as though you have a saved reference to the sash key of the remote system which does not match the key provided with the new connection.
It is impossible for me to know where you stored the key or whether your script uses ~/.ssh/known_hosts as the storage for those keys.
0
 
LVL 1

Author Comment

by:progjm
ID: 37725025
thank you that was it!
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question