Changes between Version 1 and Version 2 of netsec2018ssh
- Timestamp:
- Jun 7, 2018, 6:51:01 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
netsec2018ssh
v1 v2 22 22 - Start the PuTTYgen utility, by double-clicking on its .exe file. 23 23 - For Type of key to generate, select SSH-2 RSA. 24 - In the Number of bits in a generated key field, specify either 2048 or 4096 (increasing the bits makes it 25 harder to crack the key by brute-force methods). 24 - In the Number of bits in a generated key field, specify either 2048 or 4096 (increasing the bits makes it harder to crack the key by brute-force methods). 26 25 - Click the Generate button. 27 - Move your mouse pointer around in the blank area of the Key section, below the progress bar (to 28 generate some randomness) until the progress bar is full. 26 - Move your mouse pointer around in the blank area of the Key section, below the progress bar (to generate some randomness) until the progress bar is full. 29 27 - A private/ public key pair has now been generated. 30 28 - In the Key comment field, enter your email address. 31 29 - The Key passphrase field & re-type the same passphrase in the Confirm passphrase field.9. Click the Save private key button and save as private_key . 32 - Right-click in the text field labeled Public key for pasting into OpenSSH authorized_keys file and 33 choose Select All. 30 - Right-click in the text field labeled Public key for pasting into OpenSSH authorized_keys file and choose Select All. 34 31 - Right-click again in the same text field and choose Copy. 35 32 - Open notepad; paste the public key and save it as txt file. … … 54 51 55 52 === Create a PuTTY Profile to Save Your Server’s Settings === 56 In PuTTY, you can create (and save) profiles for connections to your various SSH servers, so you don't 57 have to remember, and continually re-type, redundant information. 53 In PuTTY, you can create (and save) profiles for connections to your various SSH servers, so you don't have to remember, and continually re-type, redundant information. 58 54 - Start PuTTY by double-clicking its executable file. 59 - PuTTY's initial window is the Session Category (navigate PuTTY's various categories, along the left- 60 hand side of the window). 55 - PuTTY's initial window is the Session Category (navigate PuTTY's various categories, along the left- hand side of the window). 61 56 - In the Host Name field, enter the IP address/Hostname of ssh server 62 57 - Enter the port number in the Port field as 22 .5. Along the left-hand side of the window, select Connection > SSH > Auth … … 64 59 - Return to the Session Category and enter a name for this profile in the Saved Sessions field. 65 60 - Click the Save button for the Load, Save or Delete a stored session area. 66 Now you can go ahead and log in and you will not be prompted for a password. However, if you had set a 67 passphrase on your public key, you will be asked to enter the passphrase at that time (and every time you 68 log in, in the future). 61 Now you can go ahead and log in and you will not be prompted for a password. However, if you had set a passphrase on your public key, you will be asked to enter the passphrase at that time (and every time you log in, in the future).