[EACCES] AuthenticationException('Authentication failed.') when creating Replication Task

KB78

Cadet
Joined
Nov 25, 2023
Messages
1
Hi All,

I am new with TrueNas and currently evaluating it against my Synology setup (that started to run annaceptably slow lately).

I am having troubles setting up Replication Task to move my data from Synology to TrueNas. Please see the screenshot for the error.

What I did:
  1. Created ssh key using TrueNas UI
  2. Copied public key to my Synology authorized_keys file
  3. Created SSH connection using TrueNas UI
  4. Creating Replication Task in wizard and getting Authentication error (see screenshot)
    1. Error in the TrueNas log folder:
      [2023/11/25 06:22:28] (INFO) paramiko.transport._log():1874 - Authentication (publickey) failed.

What else I tried:
  1. In the TrueNas SSH service I've added auxiliary argument "PubkeyAcceptedAlgorithms +ssh-rsa"
  2. Using TrueNas console, I tried to ssh to Synology server (on the same network) using user name and password and it worked.


I know that there are a couple of similar posts in this forum, but they are either to old, have no answer, or it didn't worked for me.

- Do you have any suggestions on how I can debug this issue further?
- Also, do you know where is the location of the generated public/private keys in TrueNas so I can at least test these keys manually?

Thank you!

TrueNasError.jpg
 

PhilD13

Patron
Joined
Sep 18, 2020
Messages
203
The Replication task as I understand it is for only replicating between Truenas servers and uses snapshots.

You need to use an Rsync task to go between Truenas and Synology, QNAP, etc.
 
Top