REPLICATION / DEDICATED USER

Status
Not open for further replies.

BlazeStar

Patron
Joined
Apr 6, 2014
Messages
383
Using FreeNAS-9.2.1.8-RELEASE-x64 (e625626)

I need to use the "dedicated users" with a Replication Task.

The reason why I "need" it to work is because I have 2 Replication task.

One "local" which replicates my data on a different HDD and Volume

One "distant" which replicates my data on a different FreeNAS system which is geographically distant.

So since I need to include the SSH Public key in the root user for the first replication task, the second one fails.

Therefore I need to have a dedicated user for the second Replication.

Please correct me if I'm wrong with this assumption and if there's another way to make this work!


In conclusion, if I take a WORKING replication task:
http://cl.ly/image/2H3R2T3p1B2Y

And change only this:
DEDICATED USER ENABLE > Checked
DEDICATED USER > LocalR (the name I gave for this user)

It does not work.

Note that the user is configured as follow:
http://cl.ly/image/0T271M3F1R0m
The email is omitted for confidentiality and the SSH Public Key is the correct Key for replication.
I don't see anything wrong with the user config, let me know if you do!

Now maybe you're wondering if the user is set up correctly on the remote system, BUT in this case is is on the same machine so there is no chance that the user is not exactly the same, and configured accordingly!
 

BlazeStar

Patron
Joined
Apr 6, 2014
Messages
383
By the way, when it fails, I received two types of emails

One with subject "Critial Alerts" and content "Replication Data -> localhost failed: SSH Failed"

Another one with subject :
Hello,
The replication failed for the local ZFS Data because the command:
/usr/bin/ssh -c arcfour256,arcfour128,blowfish-cbc,aes128-ctr,aes192-ctr,aes256-ctr -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -o ConnectTimeout=7 -l LocalR
have returned an error code of 255
 
Status
Not open for further replies.
Top