[X-Unix] SSH trouble

Chris Ruscio cruscio at cem.uvm.edu
Thu Mar 17 14:29:47 PST 2005


Not gui... Think htpasswd.

"htpasswd - Create and update user authentication files" - man page

I was wondering if there was a similar way to maintain the known hosts file.

Thanks,
Chris


Dan DeRusha wrote:

>I always have done it this way, I'm not aware of any GUI app to do it.
>
>
>
>On 3/17/05 8:47 AM, "Chris Ruscio" <cruscio at cem.uvm.edu> wrote:
>
>  
>
>>I removed the line and managed to login... thanks :)
>>
>>As to adding a line though, something multiple people suggested, it
>>didn't seem like the kind of file I should be editing by hand. Is there
>>a program to add a line to it, or will a text editor work?
>>
>>Thanks for the help,
>>Chris
>>
>>
>>Dan DeRusha wrote:
>>
>>    
>>
>>>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
>>>
>>>_______________________________________________
>>>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
>>> 
>>>
>>>      
>>>
>>_______________________________________________
>>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
>
>_______________________________________________
>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
>  
>



More information about the X-Unix mailing list