I'm using FreeNAS 8.0.1 RC2
I followed the manual at http://doc.freenas.org/index.php/Replication_Tasks.
I had to do a few extra command in CL to make "SSH key based authentication" work, without errors.
These commands are not in the manual.
The fix:
Maybe a nice addition to the manual?
I followed the manual at http://doc.freenas.org/index.php/Replication_Tasks.
I had to do a few extra command in CL to make "SSH key based authentication" work, without errors.
These commands are not in the manual.
The fix:
Code:
LOCAL = 192.168.100.200 REMOTE = 192.168.100.210 Make a SSH connection to REMOTE from LOCAL: LOCAL# ssh -i /data/ssh/replication 192.168.100.210 2 errors are displayed : - Could not create directory '/root/.ssh'. - Failed to add the host to the list of known hosts (/root/.ssh/known_hosts). To fix this a did: LOCAL# mount -uw / LOCAL# mkdir -p /root/.ssh/ LOCAL# chmod 700 /root/.ssh LOCAL# nano /root/.ssh/known_hosts LOCAL# ssh -i /data/ssh/replication 192.168.100.210 No errors like above on your display (hopefully :D) REMOTE# exit LOCAL# mount -ur /
Maybe a nice addition to the manual?