The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with SSH

Discussion in 'General Discussion' started by quicklyweb, Oct 23, 2006.

  1. quicklyweb

    quicklyweb Member

    Joined:
    Apr 24, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    In whm i enabled the password authentication for ssh for security. Now every time i try to login i get following

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @ 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
    7e:4b:ec:13:3f:1d:e6:31:70:4b:20:f4:89:df:90:a9.
    Please contact your system administrator.
    Add correct host key in /root/.ssh/known_hosts to get rid of this message.
    Offending key in /root/.ssh/known_hosts:3
    RSA host key for XXXXXX.XXX has changed and you have requested strict checking.
    Host key verification failed.


    So now i am stuck and can't login trough SSH. Can anyone explain what i need to do . I will preciate for anyhelp
     
  2. quicklyweb

    quicklyweb Member

    Joined:
    Apr 24, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    problem is solved . It was a local issue.
     
  3. apodigm

    apodigm Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    What was the resolution?

    I'm getting a similar issue. Putty says it may be a possible man-in-the-middle attach.

    SSH to my other servers are working normally. I dont know why my keys on this one server have been changed.
     
  4. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    This may be due to your host name is or ip address is changed or you have recently formatted your server.

    Remove the old key and generate new host identification key for the same.
     
  5. McPhee

    McPhee Registered

    Joined:
    Dec 5, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    It can normally be dealt with by removing the appropriate entry from within your ~/.ssh/known_hosts file. This is assuming your are using Linux as your local machine. Otherwise, the entry will need to be removed from whever your SSH client keeps them.
     
Loading...

Share This Page