Results 1 to 4 of 4

Thread: SSH Remote Host Identification Failure

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Location
    Aurora, CO
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    [SOLVED] SSH Remote Host Identification Failure

    I normally use SSH to remote into my webserver on 10.50.*.79:22.
    I took a vacation, and my DCHP leases timed out.
    My server is now 10.50.*.78:22, which used to be my media center.

    So now when I try to ssh 10.50.*.78:22, host key verification fails, and I don't get access.


    Here's the output, ==== are things that I have removed.
    tm@main:~$ ssh 10.50.==.78 -l webservadmin
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
    @ 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
    82:=============================================== :15.
    Please contact your system administrator.
    Add correct host key in /home/tm/.ssh/known_hosts to get rid of this message.
    Offending key in /home/tm/.ssh/known_hosts:2
    RSA host key for 10.50.==.78 has changed and you have requested strict checking.
    Host key verification failed.


    Maybe it has something to do with:
    Add correct host key in /home/tm/.ssh/known_hosts to get rid of this message.
    ??
    Last edited by teejmya; April 2nd, 2010 at 05:38 AM. Reason: More ====ing.

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: SSH Remote Host Identification Failure

    It happens if the IP address changes. Nothing to worry about, just add the key to the known_hosts file.

    Also make sure that you are in fact connecting to the correct machine. If the DHCP lease expired, and changed IP addresses, it would be a major pain, my servers are set for static IP addresses.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Nov 2009
    Location
    Aurora, CO
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: SSH Remote Host Identification Failure

    Yeah, that did the trick!
    It was the same system, I only have about 7 people on this network.

    Thanks a lot.

  4. #4
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: SSH Remote Host Identification Failure

    If you're using DHCP, you can make sure avahi is configured and use that for hostname resolution.
    Code:
    ssh user@myhostname.local
    Then you don't have to worry about two server using the same address.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •