Private Key Login - Raspberry Pi
From ETCwiki
Revision as of 18:08, 25 September 2013 by Ddxfish (talk | contribs) (Ddxfish moved page Raspberry Pi - Setup Private Keys Login to Private Key Login - Raspberry Pi)
This requires you to be logged into the Raspberry Pi on PuTTy or similar ssh client and logged into root (or the user you want to make keys for)
On the Raspberry Pi:
su cd /root mkdir .ssh cd .ssh ssh-keygen cat id_rsa.pub > authorized_keys chmod 600 authorized_keys
On your (Windows) computer:
- copy "id_rsa" from /root/.ssh on the pi to your computer
- open PuTTygen on windows
- load the private keyfile you just downloaded (id_rsa) Note: You will have to search for *.* All file types
- save as a putty private key file with extension .ppk
- load your RPi session in putty, and enter the key location and name in the SSH section