Hello, Some good news for anyone following this issue. ;-)
> On 22 Apr 2020, at 13:38, Pim Rupert <p...@lemonbit.com> wrote: > > When it fails, it fails on the rsync_bpc command. With the following error > (example): > > Xfer PIDs are now 31322 > This is the rsync child about to exec /usr/bin/rsync_bpc > ssh_exchange_identification: Connection closed by remote host > rsync_bpc: connection unexpectedly closed (0 bytes received so far) > [Receiver] > > This implies something goes wrong with the SSH connection. However, no > outgoing TCP packets are visible in tcpdump. The error is not reproducible > when initiated manually from shell or cron, in that case we do see outgoing > TCP packets and all is well. This is severely odd. I didn't want to believe there was some magical root cause, so I investigated further by enabling verbose output for the "ssh" command. To enable verbose output for the "ssh" command executed by rsync_bpc I added "-vvv" to the RsyncSshArgs. This lead to the unraveling of this mystery... The verbose output of SSH was: debug1: ssh_exchange_identification: This account is currently not available. ssh_exchange_identification: Connection closed by remote host The reason for this had nothing to do with any "remote host", it was that the "backuppc" user had no shell configured! # grep backuppc /etc/passwd backuppc:x:994:990::/var/lib/BackupPC:/sbin/nologin After changing the shell to /bin/bash for backuppc, all errors disappeared. Running backups automatically and from the web application succeeded with the jump host. Apparently a shell is required to use a jump host from the ssh command in this situation? I will further investigate if this is really required and will report back in this list. @Falko: since you got it working without changes, is a shell set for the "backuppc" user? Best regards, Pim Rupert _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/