access:sshkeys
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
access:sshkeys [2025/03/10 10:58] – olivier | access:sshkeys [2025/03/10 11:17] (current) – [Using keys] olivier | ||
---|---|---|---|
Line 66: | Line 66: | ||
To generate a SSH key with PuTTY, you will need PuTTYgen, which can be downloaded separately from the PuTTY download page, or can be downloaded as part of the PuTTY install package. If you use the installer, PuTTYgen will be located on the start menu under **Start-> | To generate a SSH key with PuTTY, you will need PuTTYgen, which can be downloaded separately from the PuTTY download page, or can be downloaded as part of the PuTTY install package. If you use the installer, PuTTYgen will be located on the start menu under **Start-> | ||
- | Once you have obtained PuTTYgen, start it, in the lower right there you will see a text box for {{GUI|Number of bits in generated key}}, change this to 4096. | + | Once you have obtained PuTTYgen, start it, in the lower right there you will see a text box for **Number of bits in generated key**, change this to 4096. |
- | {| | + | |
- | | http:// | + | |
- | < | + | |
- | |} | + | |
- | Click {{GUI|Generate}}, | + | {{ :access:keygen-puttygen-start.png? |
- | {| | + | |
- | | http:// | + | |
- | < | + | |
- | |} | + | |
- | Once the key is generated, select the text in the area marked {{GUI|Public key for pasting into OpenSSH authorized_keys file:}} and copy it to the clipboard. This is the information | + | Click **Generate**, you will be asked to move your mouse around |
- | {| | + | |
- | | http:// | + | |
- | < | + | |
- | |} | + | |
- | You will need to save your key, but first you should set a passphrase. To set the passphrase type it into the {{GUI|Key passphrase}} and {{GUI|Confirm passphrase}} text boxes. When selecting your passphrase, please select a secure phrase. Preferably at least 12 characters with numbers, capital letters, small letters and punctuation. | + | {{ :access:keygen-puttygen-generate.png? |
- | {| | + | |
- | | http:// | + | |
- | < | + | |
- | |} | + | |
- | Once you have set a passphrase, you will need to save the key, you can click {{GUI|Save private key}} to save the private key. Please select a safe location to save the key, and keep a backup so you do not loose it. Also try to make sure that the key is secure. The private is the key you will need to access resources. | + | Once the key is generated, select the text in the area marked **Public key for pasting into OpenSSH authorized_keys file:** and copy it to the clipboard. This is the information that the CIM systems staff will need to grant your key access to resources. You can paste it into an email to the CIM Systems Staff immediately if you wish. If you are configuring key-based authentication yourself, place the public key in **$HOME/ |
+ | |||
+ | {{ : | ||
+ | |||
+ | You will need to save your key, but first you should set a passphrase. To set the passphrase type it into the **Key passphrase** and **Confirm passphrase** text boxes. When selecting your passphrase, please select a secure phrase. Preferably at least 12 characters with numbers, capital letters, small letters and punctuation. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Once you have set a passphrase, you will need to save the key, you can click **Save private key** to save the private key. Please select a safe location to save the key, and keep a backup so you do not loose it. Also try to make sure that the key is secure. The private is the key you will need to access resources. | ||
Once you have saved your private key, you can optionally save your public key, this is useful to have in case you wish to access more than one resource with the same key. | Once you have saved your private key, you can optionally save your public key, this is useful to have in case you wish to access more than one resource with the same key. | ||
- | == Using keys == | + | ==== Using keys ==== |
- | To use the key, you will need to use Pageant, this is available on the PuTTY download page, and is included in the PuTTY install package. After installing the PuTTY install package, Pageant will be available at {{GUI|Start-> | + | To use the key, you will need to use Pageant, this is available on the PuTTY download page, and is included in the PuTTY install package. After installing the PuTTY install package, Pageant will be available at **Start-> |
- | {| | + | {{ :access: |
- | | http:// | + | |
- | < | + | |
- | |} | + | |
- | Once you have added the private key to the Pageant, use PuTTY to connect to the resource you need to access as usual (see the [[SSH]] page for more information). You will not be prompted for a password when you connect. Pageant keys will also work with [http:// | + | Once you have added the private key to the Pageant, use PuTTY to connect to the resource you need to access as usual. You will not be prompted for a password when you connect. Pageant keys will also work with [[http:// |
access/sshkeys.1741618729.txt.gz · Last modified: 2025/03/10 10:58 by olivier