Rsync from linux to TNAS Rsync server fails to authenticate

SMB, NFS, AFP, FTP, web file manager and Rsync server.
Locked
User avatar
davedaboz
Posts: 1
Joined: 17 Aug 2023, 03:46

Rsync from linux to TNAS Rsync server fails to authenticate

Post by davedaboz »

My attempts to backup files from a linux Samba server to the Rsync Server running on my TNAS F4-210 are failing to authenticate.
I know Rsync server is working because I have successfully backed up files via Rsync from a QNAP NAS to the same TNAS.
My Rsync Server is configured with user 'rsync' and a authorized directory /BKUP on my single NAS volume #1
SSH is enabled, using the TNAS's default port of 9222.
The TNAS IP on my internal network is 192.168.42.9.
I can ssh to the TNAS as user 'admin'. but not as user 'rsync'

Am I missing something??

Here is the console CLI I see on the Linux device ...

First, successful ssh as user 'admin':

Code: Select all

administrator@ubuntu-samba:~$ ssh -l admin -p 9222 192.168.42.9
Password: 
Welcome to TNAS
-bash: ulimit: open files: cannot modify limit: Operation not permitted
admin@TNAS-6F4D:~$ exit
logout
Connection to 192.168.42.9 closed.
Second, failed ssh as user 'rsync'

Code: Select all

administrator@ubuntu-samba:~$ ssh -l rsync -p 9222 192.168.42.9
Password: 
Password: 
Password: 
rsync@192.168.42.9's password: 
Permission denied, please try again.
rsync@192.168.42.9's password: 
Permission denied, please try again.
rsync@192.168.42.9's password: 
Received disconnect from 192.168.42.9 port 9222:2: Too many authentication failures
packet_write_wait: Connection to 192.168.42.9 port 9222: Broken pipe
Finally a similar authentication fail running the rsync command

Code: Select all

administrator@ubuntu-samba:~$ rsync -av -e "ssh -p 9222" /media/devfileshare rsync@192.168.42.9:/BKUP
Password: 
Password: 
Password: 
rsync@192.168.42.9's password: 
Permission denied, please try again.
rsync@192.168.42.9's password: 
Permission denied, please try again.
rsync@192.168.42.9's password: 
Received disconnect from 192.168.42.9 port 9222:2: Too many authentication failures
packet_write_wait: Connection to 192.168.42.9 port 9222: Broken pipe
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]
Locked

Return to “File Services”