rsync FreeNAS to raspberry-pi via SSH

Status
Not open for further replies.

Juergen

Dabbler
Joined
Oct 20, 2013
Messages
13
Hi,

I've some issues regarding rsync from my FreeNAS to a raspberry-pi.

The rsync-task is as:

Path: /mnt/volume01
Remote Host: [ip of the pi]
Remote SSH Port: 22
Rsync mode: Rsync over SSH
Remote Path: /media/ixbackup (exists on the pi)
Direction: Push
...
User: user1 (exists both on FreeNAS and pi)

I created a pair of keys on the FreeNAS:
user1@freenas:~ % ssh-keygen -t ecdsa

and copied the public key to the pi:
user1@pi ~/.ssh/id_ecdsa.pub

when the job starts it produces the following output:
Nov 1 13:12:00 freenas cron[39072]: _secure_path: /mnt/volume01/.login_conf is world writable
Nov 1 13:12:01 freenas rsync: No ECDSA host key is known for 192.168.178.23 and you have requested strict checking.^M
Nov 1 13:12:01 freenas rsync: Host key verification failed.^M
Nov 1 13:12:01 freenas rsync: rsync error: unexplained error (code 255) at log.c(235) [sender=3.0.9]

and that's it.

Any suggestions what's going wrong or what's missing?

Thx, bye
J.
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165

Juergen

Dabbler
Joined
Oct 20, 2013
Messages
13
Hi,

it works - with ecdsa-keys. I must have made something wrong with the keys earlier.

Now I deleted all of my keys, both on the FreeNAS and the pi. Then I generated new pairs of ecdsa-keys and pushed the pubic keys from pi to FreeNAS and from FreeNAS to pi. For some reason the ssh-copy-id script doesn't work, I had to copy the keys manually: cat ~/.ssh/id_ecdsa.pub | ssh $REMOTE_HOST 'umask 077; mkdir -p ~/.ssh; cat >> ~/.ssh/authorized_keys'

Now I discover the next issue: initial rsync of 350 GB Data over the FastEthernet-Port of the pi to its USB-2.0 external drive takes a bit :eek:

Cheers!
J.
 
Status
Not open for further replies.
Top