Solved

Net::SSH::HostKeyMismatch

Posted on 2012-03-15
2
506 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
2 Comments
 
LVL 76

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now