-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Mittwoch, 5. Februar 2003 12:08 schrieb Buchan Milne: > Robert Fox wrote: > > On Wed, 2003-02-05 at 11:46, Buchan Milne wrote: > > > > Could you explain a little bit more about using the ssh keys to make it > > work? Or at least point me to a How-To or document which may shine some > > light on this? > > There was an article at mandrakesecure.net IIRC > > 1) > $ ssh-keygen -t dsa > (choose to have a passprhase or not) > 2) > $ ssh-add > (if you have a passprase, you need to enter it) > 3) > $ ssh-copy-id remotehost > 4) > $ ssh remotehost > (you should now get in without a password) > > In future, do 2 and 4 only, and 3 for new hosts, you shouldn't need to > do 1 again. > > If you liked that, try: > > # urpmi keychain > > Now, you should be asked your passphrase once per machine boot, on your > first login. > > (there are still some issues with keychain's /etc/profile.d file that > need to be addressed, but I'm working on it slowly ...) > > Buchan
Please keep in mind, ssh-agent must start one of the parent programs to use ssh-add. In mdk this is only true for the X System. At the commandline you have to enter 'ssh-agent bash' first. Martin - -- - ------------------------------------------------------------ H E L I X Gesellschaft für Software & Engineering mbH - ------------------------------------------------------------ Hanauer Landstrasse 52 Telefon (069) 4789 35-30 60314 Frankfurt am Main Telefax (069) 4789 35-44 - ------------------------------------------------------------ http://www.helix-gmbh.net [EMAIL PROTECTED] - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+QPYbBG198cnayKQRAlKpAJ9uv9TZp4/FIdf48G4oogd5yiYktACeJfDH MmMOaFmEEZjbihd1PqH6GSE= =G5wn -----END PGP SIGNATURE-----