[Da-tools-commits] ./da-tools/userdir-ldap-common r391: * ud-replicate: use the host key to sync stuff from the db server,

Peter Palfrader peter at palfrader.org
Tue May 13 20:09:02 UTC 2008


------------------------------------------------------------
revno: 391
committer: Peter Palfrader <peter at palfrader.org>
branch nick: userdir-ldap
timestamp: Tue 2008-05-13 22:09:02 +0200
message:
  * ud-replicate: use the host key to sync stuff from the db server,
    that is, call ssh with ii /etc/ssh/ssh_host_rsa_key.
  * ud-replicate: Call ssh with -o PreferredAuthentications=publickey
    so that it does not even try password authentication.
modified:
  debian/changelog
  ud-replicate
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2008-04-21 11:31:04 +0000
+++ b/debian/changelog	2008-05-13 20:09:02 +0000
@@ -1,3 +1,12 @@
+userdir-ldap (0.3.21) unstable; urgency=low
+
+  * ud-replicate: use the host key to sync stuff from the db server,
+    that is, call ssh with ii /etc/ssh/ssh_host_rsa_key.
+  * ud-replicate: Call ssh with -o PreferredAuthentications=publickey
+    so that it does not even try password authentication.
+
+ -- Peter Palfrader <weasel at debian.org>  Tue, 13 May 2008 22:06:23 +0200
+
 userdir-ldap (0.3.20) unstable; urgency=low
 
   * Teach ud-mailgate about ipv6 addresses (RT#193).

=== modified file 'ud-replicate'
--- a/ud-replicate	2008-04-21 22:18:09 +0000
+++ b/ud-replicate	2008-05-13 20:09:02 +0000
@@ -49,7 +49,7 @@
     ;;
 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" ]



More information about the Da-tools-commits mailing list