This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:2fa:ssh:putty [2021/03/22 14:26] – deul | services:2fa:ssh:putty [2021/03/26 15:31] (current) – deul | ||
---|---|---|---|
Line 1: | Line 1: | ||
======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/ | + | Before we can use key based login, we first need to create a private/ |
{{ : | {{ : | ||
- | and hit the ' | + | and provide a passphrase before hiting |
{{ : | {{ : | ||
Line 20: | Line 20: | ||
{{ : | {{ : | ||
- | Open the login session to the server (you still have to provide your password), then go to the .ssh directory and edit the authorized_keys file using an editor (e.g. vi) and paste in the copied text from the public file. Make sure the pasted text is one line! Perpend that line with ssh-rsa (the default | + | Open the login session to the server (you still have to provide your password), then go to the .ssh directory and edit the authorized_keys file using an editor (e.g. vi) and paste in the copied text from the public file. Make sure the pasted text is one line! Perpend that line with ecdsa-sha2-nistp256 |
{{ : | {{ : | ||
- | Once the authorized_key file is saved, you can login without typing your password/ | + | Once the authorized_key file is saved, you can login without typing your password/ |