[linux-l] ssh als Transportmedium für rsync ohne Passworteingabe

Volker Kroll volker.kroll at 4mino.de
Do Mai 30 15:57:37 CEST 2002


On Thu, 2002-05-30 at 15:39, Carsten Springenberg wrote:
> Dazu wird
> vorgeschlagen zur Replizierung rsync zu nehmen und als Transportmedium
> ssh, wobei ssh so konfiguriert werden soll, dass der Abgleich ohne die
> Eingabe eines Passworts erfolgen kann.
> 
> Die Frage ist nur wie? Mit Passwort klappt's soweit ganz gut, da das
> ganze aber ohne User-Input im Hintergrund passieren muss, ist das leider
> nicht die Lösung.

Du mußt in der ~/.ssh/authorized_keys2 deinen Key eintragen. Wenn Du
diesen ohne PW erstellt hast, mußt Du kein PW mehr eingeben.

Siehe man ssh-keygen und man ssh
<zitat>
     $HOME/.ssh/authorized_keys2
          Lists the public keys (RSA/DSA) that can be used for logging
	  in as this user.  This file is not highly sensitive, but the recom­
          mended permissions are read/write for the user, and not 	 
accessible by others.
</zitat>

HTH
Volker



-- 
Volker Kroll                                    4mino AG
Chief System Developer                          Chausseestr. 52 b
volker.kroll at 4mino.de                           D-10115 Berlin
Tel.: +49-30-2888490-0                          Fax.: +49-30-2888490-99




Mehr Informationen über die Mailingliste linux-l