Rsync not working and I am all out of ideas

    • OMV 3.x
    • Rsync not working and I am all out of ideas

      so i have tried a little bit of everything.

      So on the OMV server I sshed over to my ubuntu box. I also from my ubuntu box sshed over to the OMV server.

      When i run the rsync from the OMV gui i get the following.

      Please wait, syncing <harold@192.168.211.45:/home/harold/test> to </srv/dev-disk-by-id-md-name-openmediavault-USB4bay/idrive> ...

      OpenSSH_6.7p1 Debian-5+deb8u3, OpenSSL 1.0.1t 3 May 2016
      debug1: Reading configuration data /etc/ssh/ssh_config
      debug1: /etc/ssh/ssh_config line 19: Applying options for *
      debug1: Connecting to 192.168.211.45 [192.168.211.45] port 22.
      debug1: Connection established.
      debug1: permanently_set_uid: 0/0
      debug1: identity file /root/.ssh/id_rsa type 1
      debug1: key_load_public: No such file or directory
      debug1: identity file /root/.ssh/id_rsa-cert type -1
      debug1: key_load_public: No such file or directory
      debug1: identity file /root/.ssh/id_dsa type -1
      debug1: key_load_public: No such file or directory
      debug1: identity file /root/.ssh/id_dsa-cert type -1
      debug1: key_load_public: No such file or directory
      debug1: identity file /root/.ssh/id_ecdsa type -1
      debug1: key_load_public: No such file or directory
      debug1: identity file /root/.ssh/id_ecdsa-cert type -1
      debug1: key_load_public: No such file or directory
      debug1: identity file /root/.ssh/id_ed25519 type -1
      debug1: key_load_public: No such file or directory
      debug1: identity file /root/.ssh/id_ed25519-cert type -1
      debug1: Enabling compatibility mode for protocol 2.0
      debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u3
      debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8
      debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8 pat OpenSSH_6.6.1* compat 0x04000000
      debug1: SSH2_MSG_KEXINIT sent
      debug1: SSH2_MSG_KEXINIT received
      debug1: kex: server->client aes128-ctr umac-64-etm@openssh.com none
      debug1: kex: client->server aes128-ctr umac-64-etm@openssh.com none
      debug1: sending SSH2_MSG_KEX_ECDH_INIT
      debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
      debug1: Server host key: ECDSA 27:0c:78:82:dd:4e:f9:9c:83:35:42:cb:87:bb:d8:95
      debug1: Host '192.168.211.45' is known and matches the ECDSA host key.
      debug1: Found key in /root/.ssh/known_hosts:1
      debug1: SSH2_MSG_NEWKEYS sent
      debug1: expecting SSH2_MSG_NEWKEYS
      debug1: SSH2_MSG_NEWKEYS received
      debug1: SSH2_MSG_SERVICE_REQUEST sent
      debug1: SSH2_MSG_SERVICE_ACCEPT received
      debug1: Authentications that can continue: publickey,password
      debug1: Next authentication method: publickey
      debug1: Offering RSA public key: /root/.ssh/id_rsa
      debug1: Authentications that can continue: publickey,password
      debug1: Trying private key: /root/.ssh/id_dsa
      debug1: Trying private key: /root/.ssh/id_ecdsa
      debug1: Trying private key: /root/.ssh/id_ed25519
      debug1: Next authentication method: password
      debug1: read_passphrase: can't open /dev/tty: No such device or address
      debug1: Authentications that can continue: publickey,password
      Permission denied, please try again.
      debug1: read_passphrase: can't open /dev/tty: No such device or address
      debug1: Authentications that can continue: publickey,password
      Permission denied, please try again.
      debug1: read_passphrase: can't open /dev/tty: No such device or address
      debug1: Authentications that can continue: publickey,password
      debug1: No more authentication methods to try.
      Permission denied (publickey,password).
      rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
      rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.1]


      I am logged in as Admin on the OMV GUI and the ubuntu box the SSH account for file manager is Harold.

      I am all out of ideas if you guys could point me in the right direction it would really help.
    • New

      There's another way to do what you're doing, from the OMV end of it.

      First, install the "Remote Mount" Plugin. (Using the Remote Mount plugin bypasses the need to use an Rsync server on either end.)

      Second, using the Remote Mount Plugin;
      Mount the network share 192.168.211.45:/home/harold/test . You'll need a user name and password, with access to the share. The user will need a minimum of read access, to pull from the above share. (I'm guessing that the user is harold.)

      If you want to push from OMV to the above share, the user will need write access. That means the user "harold" will need to have write access to all folders in the path, from home all the way down to test. Check permissions on all folders in the path.

      At this point, if the Remote Mount is successful, you'll see the remote share in File Systems. It will appear to be a local drive.

      Lastly set up
      a Local Rsync job with the source being the remote share (above) and with the destination being a shared folder on your OMV server.

      Remember, with Remote Mount, the remote share is local. The Rsync job is local.
      Good backup takes the "drama" out of computing
      ____________________________________
      OMV 3.0.81 Erasmus
      ThinkServer TS140, 12GB ECC /
      32GB USB3.0 / 4TB SG / 1TB WD

      OMV 3.0.81 Erasmus - Rsync'ed Backup Server
      R-PI 2 $29 / 16GB SD Card $8 / Real Time Clock $1.86
      4TB WD My Passport $119
    • Users Online 1

      1 Guest