Find the answer to your Linux question:
Results 1 to 2 of 2
I'm attempting to sync a music collection from one Ubuntu Linux machine to another using Grsync, the GUI for rsync. Whenever I make an attempt, I get this error message: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Location
    Omaha, Nebraska
    Posts
    42

    [SOLVED] Grsync and known_hosts problem


    I'm attempting to sync a music collection from one Ubuntu Linux machine to another using Grsync, the GUI for rsync. Whenever I make an attempt, I get this error message:

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@

    @ 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
    3b:f4:db:61:0f:2d:27:e3:c8:51:50:af:fc:4e:fe:d6.
    Please contact your system administrator.
    Add correct host key in /home/tom/.ssh/known_hosts to get rid of this message.
    Offending key in /home/tom/.ssh/known_hosts:1
    RSA host key for 192.168.0.102 has changed and you have requested strict checking.
    Host key verification failed.
    rsync: connection unexpectedly closed (0 bytes received so far) [sender]
    rsync error: unexplained error (code 255) at io.c(454) [sender=2.6.9]
    One person recommended that I edit out the first entry of my known_hosts file on the source computer. My known_hosts file looks like gibberish to me. Here it is:
    |1|sVuB/8L8h5+dKZNJ71QyVs4fJKI=|P4yWauJKniptgGC6d6bwKDPRlO Y= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAxmwx9D43hZ9dTgWEmF3bXm X8P0X2vLh/qNYauINXGOd7Q30Wjb02B3mJgF38+Ic0mPJpdQ2WGSlnW15uzY 15BCGZMzoXzNSIKqF2x4TA14Q0plqtOiGr8B0XwVGg2bglUZP/joWEmne/uAe3PZaMP8Ldhx6Lj9fRXmdEDe8t9jNIvKXiqqKu+hMmQSW8qc fwcOknVBqopQd/Sw0eQ5MnahxftHFGJx0h27OlsW8J9mIxqNBxNLOf0gB5WHe3iZ Hs91b6MezvCVBOnDQEwmHqfl7zKYm4io0Mn8Ey2dN9JnoC+tfN 4CxSPVNbiTapaED5ESwSSs0IBi2+o1so+mIlfQ==
    Still, I gave it a shot, simply editing out the first line, leaving it as so:

    AAAAB3NzaC1yc2EAAAABIwAAAQEAxmwx9D43hZ9dTgWEmF3bXm X8P0X2vLh/qNYauINXGOd7Q30Wjb02B3mJgF38+Ic0mPJpdQ2WGSlnW15uzY 15BCGZMzoXzNSIKqF2x4TA14Q0plqtOiGr8B0XwVGg2bglUZP/joWEmne/uAe3PZaMP8Ldhx6Lj9fRXmdEDe8t9jNIvKXiqqKu+hMmQSW8qc fwcOknVBqopQd/Sw0eQ5MnahxftHFGJx0h27OlsW8J9mIxqNBxNLOf0gB5WHe3iZ Hs91b6MezvCVBOnDQEwmHqfl7zKYm4io0Mn8Ey2dN9JnoC+tfN 4CxSPVNbiTapaED5ESwSSs0IBi2+o1so+mIlfQ==
    That didn't accomplish what I wanted. All it did was take the computer I'm attempting to copy to off the network. After I restored the backup of my known_hosts file and rebooted both computers, the destination computer was back on the network.

    What's going on here? How should I edit my known_hosts file so that rsync copies my music files and doesn't give me that big scary message?

  2. #2
    Just Joined!
    Join Date
    Apr 2008
    Location
    Omaha, Nebraska
    Posts
    42
    I figured it out. This problem is now solved. I'm going to explain the solution here for the benefit of any person in the future who does a search of past threads.

    What worked was to completely delete the /home/tom/.ssh/known_hosts file and then go to the destination computer and make the SyncTest folder read and writable by any user on the network.

    This problem is now solved. I'm going to mark it solved if this board has that feature.
    Last edited by Tom_ZeCat; 09-27-2008 at 02:27 AM. Reason: forgot something

Posting Permissions

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