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 10: Line 10:
 
Now we must make PuTTY aware of the private key. Go to SSH - AUTH and use the Browse button to select the file in whuch you have previously saved the private key (usually extenstion .ppk).
 
Now we must make PuTTY aware of the private key. Go to SSH - AUTH and use the Browse button to select the file in whuch you have previously saved the private key (usually extenstion .ppk).
 
[[File:putty9.PNG|none|thumb]]
 
[[File:putty9.PNG|none|thumb]]
 +
Finnaly we need to tell PuTTY to use a particular account name for accessing the public key (which we still need to upload). So go to SSH - DATA and fill in your ULCN account name in the '' box.
 
[[File:putty11.PNG|none|thumb]]
 
[[File:putty11.PNG|none|thumb]]
 
[[File:putty10.PNG|none|thumb]]
 
[[File:putty10.PNG|none|thumb]]
 
[[File:putty12.PNG|none|thumb]]
 
[[File:putty12.PNG|none|thumb]]

Revision as of 17:33, 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 SSH - AUTH and use the Browse button to select the file in whuch you have previously saved the private key (usually extenstion .ppk).

Putty9.PNG

Finnaly we need to tell PuTTY to use a particular account name for accessing the public key (which we still need to upload). So go to SSH - DATA and fill in your ULCN account name in the box.

Putty11.PNG
Putty10.PNG
Putty12.PNG