Results 1 to 2 of 2

Thread: Using Rsync to Sync Between Windows and Linux

  1. #1
    Join Date
    Apr 2008
    Beans
    125
    Distro
    Ubuntu 12.04 Precise Pangolin

    Using Rsync to Sync Between Windows and Linux

    I'm having some problems finding a good walkthrough for this. I have Cygwin installed on Windows (with rsync), and I have a configuration file on Linux for the daemon. Basically, I just copied it from the tutorial on everythinglinux.com--which doesn't explain everything very well--and modified it a little.

    motd file = /etc/rsyncd.motd
    log file = /var/log/rsyncd.log
    pid file = /var/run/rsyncd.pid
    lock file = /var/run/rsync.lock

    [simple_path_name]
    path = My home directory
    comment = Rsync server
    uid = nobody
    gid = nobody
    read only = no
    list = yes
    secrets file = /etc/rsyncd.scrt
    hosts allow = My Windows IP address

    rsyncd.scrt reads as follows:
    MyLinuxUsername=Password

    The tutorial didn't really say what to do with that, so I took a guess. Anyway, rsyncing doesn't work, because when I enter my password it says "permission denied," even though it should be the right password.

    I don't know a lot about what I'm doing, so feel free to explain things to me like I don't know what I'm doing.

  2. #2
    Join Date
    Jul 2005
    Location
    Sydney, Australia
    Beans
    234
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Using Rsync to Sync Between Windows and Linux

    In my password file, the username and password are seperated by a colon ( not an equals sign.

    Also, the secrets file needs to be readable only by the root user, so you might need to
    'sudo chmod 600 /etc/rsyncd.scrt'

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
  •