Difference between revisions of "Private Key Login - Raspberry Pi"
From ETCwiki
Jump to navigationJump to searchm (Ddxfish moved page Raspberry Pi - Setup Private Keys Login to Private Key Login - Raspberry Pi) |
(No difference)
|
Latest revision as of 18:08, 25 September 2013
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