Solved

Net::SSH::HostKeyMismatch

Posted on 2012-03-15
2
521 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 77

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sophos EC migration to Cloud. 1 86
linux ssh 4 59
Determine Who is Runnig my Bash Shell Script 4 65
AD LDAP LDS 3 48
In today's information driven age, entrepreneurs have so many great tools and options at their disposal to help turn good ideas into a thriving business. With cloud-based online services, such as Amazon's Web Services (AWS) or Microsoft's Azure, bus…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

863 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

25 Experts available now in Live!

Get 1:1 Help Now