Actions

Difference between revisions of "Ssh keys"

From ALICE Documentation

(Setup PuTTY to use key based login)
(Setup PuTTY to use key based login)
Line 8: Line 8:
 
Make sure to use sensible file names for the two key files. The private key is automatically appended with the .ppk extension, while the public key does not need an extension.
 
Make sure to use sensible file names for the two key files. The private key is automatically appended with the .ppk extension, while the public key does not need an extension.
 
[[File:putty8.PNG|none|thumb]]
 
[[File:putty8.PNG|none|thumb]]
 +
Now we must make PuTTY aware of the private key. Go to
 
[[File:putty9.PNG|none|thumb]]
 
[[File:putty9.PNG|none|thumb]]
 
[[File:putty10.PNG|none|thumb]]
 
[[File:putty10.PNG|none|thumb]]
 
[[File:putty11.PNG|none|thumb]]
 
[[File:putty11.PNG|none|thumb]]
 
[[File:putty12.PNG|none|thumb]]
 
[[File:putty12.PNG|none|thumb]]

Revision as of 16:06, 8 July 2019

It is possible to setup ssh using keys only.

Setup Linux ssh for key based login

Setup PuTTY to use key based login

Before we can use key based login we first need to create a private/public key set. THis is doen by the program puttygen. Open this program:

Putty6.PNG

and hit the 'Generate'key. You will have to move your mouse around as this will help randomness in the creation of the key pair. Once the keys have been created you need to save each key in its own file.

Putty7.PNG

Make sure to use sensible file names for the two key files. The private key is automatically appended with the .ppk extension, while the public key does not need an extension.

Putty8.PNG

Now we must make PuTTY aware of the private key. Go to

Putty9.PNG
Putty10.PNG
Putty11.PNG
Putty12.PNG