X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-replicate;h=655b2634b6ad33b0c083dae3f0352a3261c75663;hb=037e38df1f4bec62c72c5715b4dbf99aad08cb65;hp=e0f8fe7ae666b60671c960f9cd401802dd32b121;hpb=c07a26e29bd69e5a6737a877640e6ddeec32fd77;p=mirror%2Fuserdir-ldap.git diff --git a/ud-replicate b/ud-replicate index e0f8fe7..655b263 100755 --- a/ud-replicate +++ b/ud-replicate @@ -49,7 +49,7 @@ $LOCALSYNCON) ;; esac -rsync ${verbose} -e ssh -rp "${udhost}/var/cache/userdir-ldap/hosts/$HOST" . +rsync ${verbose} -e 'ssh -i /etc/ssh/ssh_host_rsa_key -o PreferredAuthentications=publickey' -rp "${udhost}/var/cache/userdir-ldap/hosts/$HOST" . makedb "$HOST/passwd.tdb" -o passwd.db.t if [ -s "$HOST/shadow.tdb" ]