Replication task giving "Access denied to replication.list_datasets"

Hi,

I am trying to set a replication task between my local and remote machine but am getting this error when I select the destination path.

I have successfully set the SSH Key and connection via GUID but still getting this error.

image

What could be the reason for this? How to troubleshoot it?

Note: I have a firewall on my VPN and I have SSH and GUID ports open, it’s necessary to open an additional one?

Just to update that I forced the replication task creation and got this error:

Replication “concorde/docker,…,merlin/rpi_backup - galaxy/belgrado-backup” failed: Host key for server ‘100.117.219.87’ does not got ‘XXXXX’, expected ‘YYYYYY’…

I manually set the SSH Keys between both machines, added the authorised keys to the admin user on the remote and allowed to use sudo without password.

Still getting this error and does not know how to solve it.
Anyone could help me how to troubleshoot this?

Can you screenshot the whole replication window?

Have you selected your SSH Connection (top right) in that window?

Have you ticked both boxes for the admin user to:

Allow all sudo commands

Allow all sudo commands with no password

Are you doing PUSH or PULL replication? This depends on which admin user requires the above.

Here is the screenshot.


Yes, I have tried to set it manually and semi-automatically. Still the same problem.

Yes, I checked everything in the remote machine admin user. I believe that this was set by the semi-automatic SSH remote configuration.

I’m PUSHING from my local server to my remote server.

Ok so here is what I do.

  1. On Primary machine, Credentials, Backup Credentials, SSH Keypairs ADD, generate a new keypair and copy the public key.
  2. On the target machine paste the public key into the admin users profile and tick allow sudo commands with no password.
  3. Back on Primary machine, Credentials, Backup Credentials, SSH Connections ADD, Select Manual, change user to admin and select the SSH Keypair profile created above and click discover remote host key. Make sure SSH is enabled on the target machine otherwise this step will fail.
  4. Setup your replication.

This works for me.

Followed everything well less point 4.
Looks like the connection is being made but the replication is not.

If I set the destination path manually and continue then it gives this error [EFAULT] Authentication failed. which is not good. When I try the semi-automatic authentication I get the error Host key for server ‘100.117.219.87’ does not got ‘XXXXX’, expected ‘YYYYYY’…

Ok why not try with the root user or create another user. Something clearly upset somewhere.

Yeah, something very strange. Changed to root user and the problem persists.

Are you on the latest version of SCALE?

Yes, version Dragonfish-24.04.2 is on both machines.

Same problem here. Hope someone has found a solution but so far google is useless

Hi,

Yeah, I solved it from my side. It was my fault, I messed up with IPTABLES on my Tailscale Jail.

The problem was that my Tailscale Jail was forwarding everything from port 22 to the host server (I did that to access my Truenas via the Tailscale network), making the destination error Public Key because was pointing to my local instead of the remote one.

Not sure if this is your problem, but confirm that you are pointing to the right machine. I started to look at every Public Key on all my machines and found that was my Jail pointing to the wrong server.

1 Like