rsync Permission denied issues

  • Ok I give up.!After trying all sorts of things I am asking for some help.


    I have recently installed OMV6 and I am struggling running rsync on one if my network linux computers. With OMV5 everything worked well.....


    Here are my sshd_config settings

    Protocol 2

    HostKey /etc/ssh/ssh_host_rsa_key

    HostKey /etc/ssh/ssh_host_dsa_key

    HostKey /etc/ssh/ssh_host_ecdsa_key

    HostKey /etc/ssh/ssh_host_ed25519_key

    SyslogFacility AUTH

    LogLevel INFO

    LoginGraceTime 120

    StrictModes yes

    IgnoreRhosts yes

    HostbasedAuthentication no

    PermitEmptyPasswords no

    ChallengeResponseAuthentication no

    X11Forwarding yes

    X11DisplayOffset 10

    PrintMotd no

    PrintLastLog yes

    TCPKeepAlive yes

    AcceptEnv LANG LC_*

    Subsystem sftp /usr/lib/openssh/sftp-server

    UsePAM yes

    AllowGroups root ssh

    AddressFamily any

    Port 22

    PermitRootLogin yes

    AllowTcpForwarding no

    Compression no

    PasswordAuthentication yes

    AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2 /var/lib/openmediavault/ssh/authorized_keys/%u

    PubkeyAuthentication yes




    Currently rsync works fine on 2 of my raspberry pi's

    But on my network connected computer (running archlinux) I am getting the following error.


    Permission denied, please try again.
    Permission denied, please try again.
    robi@10.xx.xx.xxx: Permission denied (publickey,password).
    rsync: connection unexpectedly closed (0 bytes received so far) [sender]
    rsync error: unexplained error (code 255) at io.c(228) [sender=3.2.3]
    ERROR: The synchronisation failed.

    END OF LINE


    When I try to run the following command in the terminal I am asked for a password and then it runs fine....


    rsync --verbose --log-file="/var/log/rsync.log" --rsh "ssh -p 22 -i '/etc/ssh/openmediavault-09b8bf9e-c231-4cb5-bf83-1b344e2ca72b'" --dry-run --archive "/srv/dev-disk-by-uuid-6f2d8f95-04ad-4cef-b7da-cd0c27820f74/share1/VIS/" "robi@10.xx.xx.xxx:/home/robi/VIS/"

    rsync: [client] failed to open log-file /var/log/rsync.log: Permission denied (13)

    Ignoring "log file" setting.

    robi@10.xx.xx.xxx's password:



    Can anybody please help?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!