Rsync ssh problems

running TrueNAS SCALE Fangtooth 25.04 [release]

I setup, and had a working set of rsync tasks, which all dutifully ran overnight to backup my datasets to a remote m/c.

But having installed sftpgo App. I have managed to break my rsync tasks.

To start from a clean slate,.. I cleared remote m/c .ssh keys… and cleared local user .ssh keys ( under which rsync runs ),..

However I am now in a position where I cannot restore my truenas scale rsync tasks back to a working state.

If I try copying my newly generated public key to my remote m/c I get the following error.

truenas:~$ ssh-copy-id -f fred@192.168.3.49
/bin/ssh-copy-id: INFO: Source of key(s) to be installed: “/mnt/Local_Pool/users_home/fred/.ssh/id_rsa.pub”
fred@192.168.3.49’s password:
client_loop: send disconnect: Broken pipe

I have searched google and can find nothing that relates to my setup, and that would help ‘fix’ my problem

having looked in /etc/ssh…………………. ( on my truenas install )

truenas_admin@truenas[/etc/ssh]$ ls -l
total 82
-rw-r–r-- 1 root root 573928 Jun 22 2024 moduli
-rw-r–r-- 1 root root 1650 Jun 22 2024 ssh_config
drwxr-xr-x 2 root root 2 Jun 22 2024 ssh_config.d
-rw------- 1 root root 505 Mar 19 09:51 ssh_host_ecdsa_key
-rw-r–r-- 1 root root 176 Mar 19 09:51 ssh_host_ecdsa_key.pub
-rw------- 1 root root 411 Mar 19 09:51 ssh_host_ed25519_key
-rw-r–r-- 1 root root 96 Mar 19 09:51 ssh_host_ed25519_key.pub
-rw------- 1 root root 2602 Mar 19 09:51 ssh_host_rsa_key
-rw-r–r-- 1 root root 568 Mar 19 09:51 ssh_host_rsa_key.pub
-rw-r–r-- 1 root root 759 Feb 20 11:31 sshd_config
drwxr-xr-x 2 root root 2 Jun 22 2024 sshd_config.d

I see a bunch of additional keys,.. can I also delete these as I have no other ssh reliant task ( AFAIK )… many of which seem to be accessed everytime I try an ssh task

My remote .ssh folder has a 700 mask set….

Does anyone have any thoughts as to what I am doing wrong….

Many Tx