[X-Unix] SSH trouble

Dan DeRusha DDeRusha at schawk.com
Thu Mar 17 06:05:45 PST 2005



It tells you right in the error message what to do.

Add correct host key in /Users/[Username]/.ssh/known_hosts to get rid of
> this message.

I would vi the file and remove the line of the offending IP address that you
are ssh to.



On 3/16/05 9:32 PM, "Chris Ruscio" <cruscio at cem.uvm.edu> wrote:

> Hi all,
> 
> I have an old powerMac running behind a router in my dorm room.
> I set the router to forward port 22 to it.
> 
> When I'm on my network with my iBook, I can ssh to it's local IP
> (192.168.blah.blah). or if the powerMac is pluged right into the wall
> there's no issues...
> 
> However, when I ssh to the router's IP from outside the local network, I
> get the message below...
> 
> How do I add a key to the known_hosts file? or should i be doing
> something else to fix things... ???
> 
> Thanks,
> Chris
> 
> [Username]>ssh ###.###.###.###
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
> Someone could be eavesdropping on you right now (man-in-the-middle attack)!
> It is also possible that the RSA host key has just been changed.
> The fingerprint for the RSA key sent by the remote host is
> 13:4c:....:blah:blah:....:9a:30.
> Please contact your system administrator.
> Add correct host key in /Users/[Username]/.ssh/known_hosts to get rid of
> this message.
> Offending key in /Users/[Username]/.ssh/known_hosts:30
> RSA host key for ###.###.###.### has changed and you have requested
> strict checking.
> Host key verification failed.
> [Username]>
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
> 
> Listmom is trying to clean out his closets! Vintage Mac and random stuff:
>          http://search.ebay.com/_W0QQsassZmacguy1984

Dan DeRusha
IT Manager
Schawkchicago

847 287-1337 mobile
847 296-6000 main
847 296-9466 fax



More information about the X-Unix mailing list