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:20] – 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 12: | Line 12: | ||
{{ : | {{ : | ||
- | Finally, 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 tab Connection / DATA and fill in your ULCN account name in the ' | + | Finally, 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 tab Connection / DATA and fill in your STRW account name in the ' |
{{ : | {{ : | ||
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/ |