Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Replication Failure

denningsrogue

Junior Member
Joined
Jul 12, 2015
Messages
22
I replicate datasets from a TrueNAS server to FreeNAS virtual machine. Due to a hardware failure on my hypervisor, I had to create a new FreeNAS vm and imported the pool to the new vm. However, now when I run my replications tasks, I get the following error:

Replication "pinepool/pineshare -> root@10.10.10.201:backup/pineshare" failed: Host key for server '10.10.10.201' does not match: got 'yyy', expected 'xxx'.

I used ssh-keygen -R 10.10.10.201 on the TrueNAS machine to remove the old key from known_hosts and added the new host key but I still get the error. I have no trouble ssh'ing as root using ssh keys from the TrueNAS server to the FreeNAS vm.

What am I missing?
 

jenksdrummer

Member
Joined
Jun 7, 2011
Messages
92
I'm replicating from 11.3 to 12 on hardware. Not experiencing a problem; but I also upgraded from 11.3 to 12 on the box I'm testing with and was replicating before. But...I also destroyed my pool and re-created the replication tasks, meaning the only preexisting item was the ssh key.
 

hescominsoon

Member
Joined
Jul 27, 2016
Messages
188
ZFS inside of a vm is not
I replicate datasets from a TrueNAS server to FreeNAS virtual machine. Due to a hardware failure on my hypervisor, I had to create a new FreeNAS vm and imported the pool to the new vm. However, now when I run my replications tasks, I get the following error:

Replication "pinepool/pineshare -> root@10.10.10.201:backup/pineshare" failed: Host key for server '10.10.10.201' does not match: got 'yyy', expected 'xxx'.

I used ssh-keygen -R 10.10.10.201 on the TrueNAS machine to remove the old key from known_hosts and added the new host key but I still get the error. I have no trouble ssh'ing as root using ssh keys from the TrueNAS server to the FreeNAS vm.

What am I missing?
reccommended at all...there's a reason for that. YOu CAN do it..but it is highly not reccommended.
 
Top