(NOTE: for some reason it wouldn’t let me add screenshots to my post)
Hey all!
New to TrueNAS, been an unraid user since unraid v4 but wanting to give TrueNAS a go.
Currently running a couple of ZFS pools on unraid and would like to use ZFS Send | Receive to replicate certain datasets to the TrueNAS box or use a Pull from the TrueNAS box.
I’ve read through the TrueNAS docs and watched some videos, and most of it seems to be from the context of TrueNAS to TrueNAS (which makes sense) … just hoping that what I am wanting to do is possible.
I have set up an SSH connection from TrueNAS to UnRAID, and it works fine from the TrueNAS shell. However when I use the replication wizard (either normal or advanced options) its failing on the SSH authentication whenever I try to get to the source system with error:
[EACCES] AuthenticationException('Authentication failed.')
From the TrueNAS shell, SSH to Unraid works fine.
On the Unraid side I get the following errors when TrueNAS tries to connect during the replication task creation:
Jan 11 13:12:47 unRAID sshd-session[2041648]: Connection from 192.168.2.245 port 49252 on 192.168.2.195 port 22 rdomain ""
Jan 11 13:12:47 unRAID sshd-session[2041648]: Failed publickey for root from 192.168.2.245 port 49252 ssh2: RSA SHA256:3I9vfwN55txqzoflr/MWok5wLEu0gOAS73Pm/x+7Nj8
Jan 11 13:13:05 unRAID sshd-session[2042065]: Connection from 192.168.2.245 port 58932 on 192.168.2.195 port 22 rdomain ""
Jan 11 13:13:05 unRAID sshd-session[2042065]: Failed publickey for root from 192.168.2.245 port 58932 ssh2: RSA SHA256:3I9vfwN55txqzoflr/MWok5wLEu0gOAS73Pm/x+7Nj8
Jan 11 13:13:15 unRAID sshd-session[2042247]: Connection from 192.168.2.245 port 47870 on 192.168.2.195 port 22 rdomain ""
Jan 11 13:13:15 unRAID sshd-session[2042247]: Failed publickey for root from 192.168.2.245 port 47870 ssh2: RSA SHA256:3I9vfwN55txqzoflr/MWok5wLEu0gOAS73Pm/x+7Nj8
Jan 11 13:14:26 unRAID sshd-session[2043669]: Connection from 192.168.2.245 port 56500 on 192.168.2.195 port 22 rdomain ""
Jan 11 13:14:26 unRAID sshd-session[2043669]: Failed publickey for root from 192.168.2.245 port 56500 ssh2: RSA SHA256:3I9vfwN55txqzoflr/MWok5wLEu0gOAS73Pm/x+7Nj8
When I successfully SSH from the shell, this is on the UnRAID logs:
Jan 11 13:14:43 unRAID sshd-session[2044022]: Accepted key ED25519 SHA256:sPJu0RHb09TXrdYiLZPEXYU9u8L7vhD+p+AwCHQSvLk found at /root/.ssh/authorized_keys:3
Jan 11 13:14:43 unRAID sshd-session[2044022]: Postponed publickey for root from 192.168.2.245 port 38870 ssh2 [preauth]
Jan 11 13:14:43 unRAID sshd-session[2044022]: Accepted key ED25519 SHA256:sPJu0RHb09TXrdYiLZPEXYU9u8L7vhD+p+AwCHQSvLk found at /root/.ssh/authorized_keys:3
Jan 11 13:14:43 unRAID sshd-session[2044022]: Accepted publickey for root from 192.168.2.245 port 38870 ssh2: ED25519 SHA256:sPJu0RHb09TXrdYiLZPEXYU9u8L7vhD+p+AwCHQSvLk
Jan 11 13:14:43 unRAID sshd-session[2044022]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)
Jan 11 13:14:43 unRAID sshd-session[2044022]: User child is on pid 2044025
Jan 11 13:14:43 unRAID sshd-session[2044025]: Starting session: shell on pts/1 for root from 192.168.2.245 port 38870 id 0
I am wondering if its something to do with the user TrueNAS is using to make the connection to unraid or something simple I am missing.
I’m new to TrueNAS, keen to learn, so any help at all would be appreciated ![]()