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
Solved

Net::SSH::HostKeyMismatch

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rate limit for DNS queries 7 83
Strange proxy setting on slower than usual laptop 8 34
Linux Samba using Kerberos to Auth from Active Directory 9 70
Apache module 5 46
This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

856 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