Both servers are running 8.01 BETA4 amd64.
So I'm trying to set up snapshot replication, following http://doc.freenas.org/index.php/Replication_Tasks, and the snapshots are getting created just fine, but they're not replicating to the remote FreeNAS box. This appears to be an SSH issue, since when I try "ssh -i /data/ssh/replication NAS002" from an SSH session with NAS001, I get "The authenticity of host NAS002 can't be established. RSA key fingerprint is (stuff)." This happens whether I use the name or IP of NAS002.
The linked Replication_Tasks page tells me that this means that SSH key-based authentication isn't working. It tells me to make sure I've entered the right keys, which I'm sure I've done, and there are no spaces or line breaks in the keys.
One issue I've come across is that either NAS box's public key seems to vary depending on how I request it.
If I enter "cat /data/ssh/replication.pub" in a PuTTY session on NAS001, I get one key
If I enter "ssh-keyscan {IP of NAS001}" from NAS002, I get a different key
In desperation, I've entered all 4 keys (2 from NAS001, 2 from NAS002) into authorized_keys in /root/.ssh/ on both NAS boxes, with no change. Whether I include the leading "ssh-rsa" at the start of the key doesn't seem to matter (since there's a space after it, it ends up on its own line anyway). I've cycled the SSH service off and back on several times so far. About the only thing I haven't done is reboot either box.
What could I be doing wrong?
So I'm trying to set up snapshot replication, following http://doc.freenas.org/index.php/Replication_Tasks, and the snapshots are getting created just fine, but they're not replicating to the remote FreeNAS box. This appears to be an SSH issue, since when I try "ssh -i /data/ssh/replication NAS002" from an SSH session with NAS001, I get "The authenticity of host NAS002 can't be established. RSA key fingerprint is (stuff)." This happens whether I use the name or IP of NAS002.
The linked Replication_Tasks page tells me that this means that SSH key-based authentication isn't working. It tells me to make sure I've entered the right keys, which I'm sure I've done, and there are no spaces or line breaks in the keys.
One issue I've come across is that either NAS box's public key seems to vary depending on how I request it.
If I enter "cat /data/ssh/replication.pub" in a PuTTY session on NAS001, I get one key
If I enter "ssh-keyscan {IP of NAS001}" from NAS002, I get a different key
In desperation, I've entered all 4 keys (2 from NAS001, 2 from NAS002) into authorized_keys in /root/.ssh/ on both NAS boxes, with no change. Whether I include the leading "ssh-rsa" at the start of the key doesn't seem to matter (since there's a space after it, it ends up on its own line anyway). I've cycled the SSH service off and back on several times so far. About the only thing I haven't done is reboot either box.
What could I be doing wrong?