Help on article "Mirror Your Web Site With rsync On Fedora 10"

Discussion in 'Server Operation' started by n3ls0n, Jan 13, 2010.

  1. n3ls0n

    n3ls0n New Member

    Hi all,

    I was trying to implement a way to synchronize two directories between two servers (separated by the internet).
    The article was very helpfull and althought I don´t know much about linux, i was able to follow it and understand it...until the last part... The final test did not work, and I still am asked for a password.

    There is a great possibility that this is a mistake I did somewhere, but I would appreciate some help on troubleshooting this behaviour.

    Thanks in advance,
    Nelson
     
  2. topdog

    topdog Active Member

    use ssh keys.
     
  3. n3ls0n

    n3ls0n New Member

    I did.

    I have re-done all the how-to again, and I have found that in the authorized_keys file, if I omit the following: ' from="server2.example.com" ', the procedure works like a charm.

    I am afraid though that this may lead to an unsecure system. I am not sure why this is happening and I would appreciate help from someone that had already tried this how-to.

    Thanks in advance,
    Nelson.
     
  4. topdog

    topdog Active Member

    Use the IP address of the machine if the hostname is not working in the from=""
     
  5. n3ls0n

    n3ls0n New Member

    ok. thanks for the input, but the articles states not to use the ip address, since that may lead to the request for the password.

    anyway, i am willing to try a few things and would like to ask you something: should i use the ip address of the system, or the nat ip address?

    thanks,
    nr
     
  6. topdog

    topdog Active Member

    i do not know what article you are referring to but the man page says you can use ip addresses or hostnames. you need to use the ip address that the server see's you can see that be locking at the logs of your connection attempts
     
  7. n3ls0n

    n3ls0n New Member

  8. n3ls0n

    n3ls0n New Member

    ok

    got the answer, someone had already found this problem and the solution was an enter instead of a space. It was a glitch in the how-to.

    thanks for the help.
     

Share This Page