Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
services:2fa:ssh:putty [2021/03/24 20:07] – deul | services:2fa:ssh:putty [2021/03/26 15:30] – deul |
---|
======Setup key based login from Putty====== | ======Setup key based login from Putty====== |
Before we can use key based login, we first need to create a private/public key set. This is done by the program PuTTYgen. Open this program: | Before we can use key based login, we first need to create a private/public key set. This is done by the {{https://the.earth.li/~sgtatham/putty/latest/w64/puttygen.exe|program PuTTYgen}}. Open this program: |
{{ :services:2fa:ssh:putty_1.png?400 |}} | {{ :services:2fa:ssh:putty_1.png?400 |}} |
| |
and provide a passphrase 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. | and provide a passphrase before hiting the 'Generate'key. You will have to move your mouse around as this will help randomness in the creation of the key pair. It is strongly advised to provide a complex passphrase which is not your account password!, as this is the only way to secure illegal use of your key pair. Once the keys have been created you need to save each key in its own file. |
{{ :services:2fa:ssh:putty_2.png?400 |}} | {{ :services:2fa:ssh:putty_2.png?400 |}} |
| |
{{ :services:2fa:ssh:putty12.png?400 |}} | {{ :services:2fa:ssh:putty12.png?400 |}} |
| |
Once the authorized_key file is saved, you can login without typing your password/2fa code. | Once the authorized_key file is saved, you can login without typing your password/2fa code, you just have to provide the passphrase. |
| |