RSA Key Generation with PuTTY ----------------------------- 2006-11-06 1. Install PuTTY S:\Information Technology\Software\Putty\ 2. Launch PuTTYgen 3. Click "Generate" 4. Create key passphrase (really a phrase, not a word - REMEMBER IT!) 5. Click "Save public key" Save to your U: drive as username.pubkey 6. Click "Save private key" Save to your U: drive as username.privkey.ppk 7. Login to DEV101S as cgirb then su - to root (use Passwordsafe) 8. vi /root/.ssh/authorized_keys 9. Paste your username.pubkey at the bottom of this file in a new line *ALL ON SAME LINE* You will need to open your username.pubkey in Wordpad and make the key all one line before pasting into authorized_keys 10. Save file and logoff completely 11. Launch Pageant 12. Right-click - Add key username.privkey.ppk (enter your passphrase) 13. Launch PuTTY 14. Load your DEV101S entry if you already have one 15. Goto "Connection" - "Data" and enter in the username you want to use with this saved connection 16. Goto "Connection" - "SSH" - "Auth" Uncheck "Attempt "keyboard-interactive" auth (SSH-2) Browse for your username.privkey.ppk 17. SAVE your session settings by going back to "Session" and saving. When you name your session you may want to call it "dev101s.cgirb.com (root)" 18. TEST by opening the new DEV101S session setting you have, it should auto-login 19. EDIT the Pageant shortcut adding the path to your username.privkey.ppk file "C:\Program Files\PuTTY\pageant.exe" "U:\username.privkey.ppk" NOTE: If you launch Pageant at the beginning of the day and enter your passphrase for your key, it will run and be usable all during that login session, it doesn't time out