Hi, Below is some instructions that I use, I wrote them so I hope they make sense.
Creating and using a private/public key set Keys are used as a form of authentication (passwords can also be used). To create a public/private key set the command ssh-keygen -d this will create the appropriate keys and place them in the specified directory (default /home/user/.ssh . To use your public key you must first upload the id_dsa.pub to the remote server of what you wish to connect. This file should then be attached to the authorized_keys2 file of the user. To do this use cat id_dsa.pub >> /home/user/.ssh/authorized_keys2 . You should now be able to Ssh to the remote machine without typing a password. They were written a little while ago but I have used them recently and they still seem to work. From Robert ----- Original Message ----- From: "Daniel Holze" <[EMAIL PROTECTED]> To: <debian-isp@lists.debian.org> Sent: Sunday, January 18, 2004 1:42 PM Subject: SSH Privat key and login as root without a passwort > Hello debian-isp, > > iam looking for generate a privat SSH-Key. > There is a toolthe generates Privat RSA keys. > Now i have a privat key generated but where must i put it in the > Linux that linux know who ami and i didnt need a passwort for login. > > That the beginn of the file: > > PuTTY-User-Key-File-2: ssh-rsa > Encryption: aes256-cbc > Comment: rsa-key-20040118 > Public-Lines: 4 > ... > ... > ... > ... > > Private-Lines: 8 > ... > .. > .. > .. > . > . > . > . > . > . > . > > Private-MAC: bf01c4178b5f9ff55f372aa75fa0a50e814a07e0 > > I didnt wont to paste the hole key-file ;-) > > > Any idea?! > > -- > Best wishes, > > DWL-Deutsche Webleasing oHG > Daniel Holze > Offenbacher Landstrasse 387 > D-60599 Frankfurt > > Telefon: +49 (0)69 403 57 990 > Telefax: +49 (0)69 403 57 991 > > http://www.dwleasing.de > mailto:[EMAIL PROTECTED] > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >