I can't think of any reason why the transfer of a simple file with
rsync -e 'ssh -p 19' -vvv /path/to/file email@example.com: fails with
opening connection using: ssh -p 19 -l root 192.168.179.3 rsync --server -vvve.Lsfx . . (11 args) Permission denied, please try again. rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.1] [sender] _exit_cleanup(code=12, file=io.c, line=226): about to call exit(12)
ssh -p 19 firstname.lastname@example.org works fine.
cat [/path/to/file] for the local file suceeds and permissions are
664 and owner is the user invoking
rsync. The file is located in
Specifying the absolute path in the
-e argument, i.e.
rsync -e '/usr/bin/ssh -p 19' -vvv /path/to/file email@example.com:, doesn't help.
rsync 3.1.1 on Ubuntu 15.10.