Find the answer to your Linux question:
Results 1 to 5 of 5
I am connecting to a remote machine with rsync in order to run backups, and I have received the following error after trying to connect: Code: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE ...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    11

    Exclamation [SOLVED] Problem with remote ssh connection

    I am connecting to a remote machine with rsync in order to run backups, and I have received the following error after trying to connect:

    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
    e4:00:85:b2:5b (I deleted a section from this value before posting).
    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:1
    RSA host key for <remote-server-ip> has changed and you have requested strict checking.
    Host key verification failed.
    rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
    rsync error: unexplained error (code 255) at io.c(453) [receiver=2.6.9]
    I checked the "/root/.ssh/known_hosts" and the folder does not exist, I even used "find" to look for the file and it said that it did not exist. I am connecting remotely to this server. I checked the same on my local linux box and I see the "known_hosts" file, but it simply does not exist on the remote server. I reinstalled ssh with yast and it still did not work. What do I need to do in order to get this ssh working properly, along with having the configuration file in the .ssh folder under the root directory?

    Thanks ahead of time for the help!!!

  2. #2
    Just Joined!
    Join Date
    Mar 2008
    Posts
    11
    i figured it out...

  3. #3
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Glad to hear you got it sorted! Care to share your remedy with us?
    Linux Mint + IceWM Registered:#371367 New Members: click here

  4. #4
    Just Joined!
    Join Date
    Mar 2008
    Posts
    11
    I ran
    Code:
    ssh-keygen -R <host-name>
    and then connected again with rsync, and it established a connection with a new key.

    [EDIT: Look at this link: click here]

  5. #5
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Thanks for sharing that with us Klugscheiße! Now, when someone else comes along with the same issue, they can benefit from your solution! And by the way, welcome to Linuxforums.
    Linux Mint + IceWM Registered:#371367 New Members: click here

Posting Permissions

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