I have set up SSH backup to TrueNas Scale from Synology NAS using their Hyperbackup app.
Steps:
- Created a user called backupuser in Truenas with proper permissions
- Pointed the user to a directory on the pool
- In the synology app setup a job using ssh with the backupuser credentials
- Started the backup job and it is backing up folders to the Truenas server as expected.
- After running for several hours (Large, 4,8 TB backup) it hangs and I get multiple notifications from TrueNas below:
TrueNAS @ truenas
New alert:
74 SSH login failures in the last 24 hours: ... first 70 messages skipped ... 02 Sep 15:32:58: Failed password for backupuser from 192.168.88.201 port 41720 ssh2 02 Sep 15:32:58: Failed password for backupuser from 192.168.88.201 port 41720 ssh2 02 Sep 16:03:06: Failed password for backupuser from 192.168.88.201 port 51690 ssh2 02 Sep 16:03:06: Failed password for backupuser from 192.168.88.201 port 51690 ssh2
The following alert has been cleared:
72 SSH login failures in the last 24 hours: ... first 68 messages skipped ... 02 Sep 15:17:01: Failed password for backupuser from 192.168.88.201 port 50012 ssh2 02 Sep 15:17:01: Failed password for backupuser from 192.168.88.201 port 50012 ssh2 02 Sep 15:32:58: Failed password for backupuser from 192.168.88.201 port 41720 ssh2 02 Sep 15:32:58: Failed password for backupuser from 192.168.88.201 port 41720 ssh2
Current alerts:
74 SSH login failures in the last 24 hours: ... first 70 messages skipped ... 02 Sep 15:32:58: Failed password for backupuser from 192.168.88.201 port 41720 ssh2 02 Sep 15:32:58: Failed password for backupuser from 192.168.88.201 port 41720 ssh2 02 Sep 16:03:06: Failed password for backupuser from 192.168.88.201 port 51690 ssh2 02 Sep 16:03:06: Failed password for backupuser from 192.168.88.201 port 51690 ssh2
There is nothing on the Synology logs indicating authentication failure. It just reports backup is in progress.
No fire wall on either machine. Also, the port numbers in the alerts seem to be random.