Results 1 to 3 of 3

Thread: Can't connect to new ssh server on Ubuntu 12.04

  1. #1
    Join Date
    Mar 2005
    Location
    Sweden, Uppsala
    Beans
    906
    Distro
    Ubuntu 12.04 Precise Pangolin

    Can't connect to new ssh server on Ubuntu 12.04

    Have just installed ssh (server and client) on a Ubuntu 12.04 64bit system and i got this message when I try to connect from a computer on the local network with:

    Code:
    ssh Azyx@192.168.0.4
    And get this resuls:

    Code:
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @    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
    ---removed by secutity reason ---
    Please contact your system administrator.
    Add correct host key in /home/Azyx/.ssh/known_hosts to get rid of this message.
    Offending key in /home/Azyx/.ssh/known_hosts:2
    RSA host key for 192.168.0.4 has changed and you have requested strict checking.
    Host key verification failed.
    A I remember it, so did I before get another message, with a warning first time I tried to connect. If the message came you could remove the ~/.ssh/known_hosts or remove the line with the change computer and also according to some post here.

    I have remove ~/.ssh

    Bt It does not help . Are there any new security policy in later Ubuntu dists?

    How can I add fingerprint RSA shown in this message? Tried to just and the "---removed by secutity reason ---" to known_hosts

    /Cheers
    Last edited by Azyx; March 9th, 2013 at 04:17 PM.
    /Azyx

    Ubuntu 14.04LTS 64bit, 14.04 Lubuntu 32-bit on eeePCs and OSX on a G4 800MHz iMac (iLamp). I think I have an W7 on one of my Virtualbox machine under 14.04LTS?

  2. #2
    Join Date
    Mar 2005
    Location
    Sweden, Uppsala
    Beans
    906
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't connect to new ssh server on Ubuntu 12.04

    I am sorry! I was stupid to just erase the ~/.ssh/known_hosts on the server, not the client. I'm really sorry, and the only defend I have is that Ubuntu works so well, that I don't need to think about computers

    /Cheers
    /Azyx

    Ubuntu 14.04LTS 64bit, 14.04 Lubuntu 32-bit on eeePCs and OSX on a G4 800MHz iMac (iLamp). I think I have an W7 on one of my Virtualbox machine under 14.04LTS?

  3. #3
    Join Date
    Mar 2005
    Location
    Sweden, Uppsala
    Beans
    906
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't connect to new ssh server on Ubuntu 12.04

    Can't find how I tag the tread at SOLVED? Is not under Tread tools any more

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
  •