rsync won't run in latest 9.3 (9.3-STABLE-201502110455)

Status
Not open for further replies.

Thomymaster

Contributor
Joined
Apr 26, 2013
Messages
142
Hi

I have a strange problem, i wanted to setup an rsync replication task to my backup server.


I created the FreeNAS ssh public key and exported it to my backup server

-ssh-keygen -t rsa
-<copy it to the backup server to authorized_keys>

Then i did

ssh-keyscan -t rsa <IP of backupserver> >> /root/.ssh/known_hosts

i am able to ssh into my backupserver from the FreeNAS box, but when i manually try to run my rsync task i get:

Feb 14 11:03:59 storage rsync: TERM: Undefined variable.
Feb 14 11:03:59 storage rsync: No ECDSA host key is known for backup.kunst-und-kuriosa.de and you have requested strict checking.
Feb 14 11:03:59 storage rsync: Host key verification failed.
Feb 14 11:03:59 storage rsync: rsync: connection unexpectedly closed (0 bytes received so far) [sender]
Feb 14 11:03:59 storage rsync: rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]


What is this?


Cheers
Thomy
 

Thomymaster

Contributor
Joined
Apr 26, 2013
Messages
142
Looks like i found the mistake

Under Rsync tastk settings i set as a hostname "backup.kunst-und-kuriosa.de" and when i did the ssh-keyscan, the host-key was written into the known_hosts file as "backup" and not as "backup.kunst-und-kuriosa.de"
 
Status
Not open for further replies.
Top