Mirror your site with Rsync

Discussion in 'HOWTO-Related Questions' started by httpDee, Jan 18, 2008.

  1. httpDee

    httpDee New Member

    Hi Falko,

    The tutorial was very helpful, but I have one question:

    On page 2 you mention adding a line to authorized_keys:

    command="/home/someuser/rsync/checkrsync",from="mirror.example.com",no-port-forwarding,no-X11-forwarding,no-pty ssh-dss AAAAB3NzaC1kc3MAAA[...]lSUom [email protected]
    I like this approach to limiting the access of the account being used, but I don't understand the syntax of the above code. For my purposes I need to allow the mirroring from multiple servers. Would it be possible to replace:


    or even better (for my specific case) to eliminate the "from" clause altogether?

    Thx In Advance - The site is fantastic resource :)
  2. httpDee

    httpDee New Member

    Question answered ... I think

    I just found the documentation on the authorized_keys file in man sshd ...

    If I am understanding correctly, it looks like the "from=" directive is optional.

    Thanks again for the great tutorial, and great site!
  3. falko

    falko Super Moderator ISPConfig Developer

    Yes, everything in front of ssh-dss is optional. :)

Share This Page