ui_puttygen » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
ui_puttygen 2023-03-20 | ui_puttygen 2024-07-19 (current) | ||
Line 9: | Line 9: | ||
To start PuTTYgen, go to //Tools > PuTTYgen// on [[ui_login|Login dialog]]. | To start PuTTYgen, go to //Tools > PuTTYgen// on [[ui_login|Login dialog]]. | ||
- | "-----BEGIN RSA PRIVATE KEY----- | + | ===== [[window]] PuTTYgen Window ===== |
- | Proc-Type: 4,ENCRYPTED | + | |
- | DEK-Info: DES-EDE3-CBC,7B4C16500D252070 | + | |
- | woXXqE5Af0AxW8F3dmiWukcfOnNaw0XwBxo1TM1jwnnorQkZ9CSia9SEchbVErGI | + | &screenshotpict(puttygen) |
- | YiKdbVUXQ9f1oPXTZNS8HWkCZLhZtw7jJvsS6fESegRY8/0czngxhO27sYS+NUxv | + | |
- | aELvvrZAtoTs53V8/IsqiSKqjetXZJ7xUGPVY2auCJejZVc9umbvUoeWVUGIzqc3 | + | When you run PuTTYgen you will see a window where you have two main choices: //Generate//, to generate a new public/private key pair, or //Load// to load in an existing private key. |
- | 93eIWhvlEubRFQjGA2YE7HymVh/+BXSdy9gVW3zJtyDlPv12IRHkH5Y8LNr2cNUQ | + | |
- | eBRqTOjloCsePsN1Q0ZTtMaRTO6T9CACu8DTQSq0Vc/jF/N0EaLbiy6HIhHDP5CS | + | |
- | 56R78idX9X5ikcmxQHl8GLA3HG2uMPFtGmQq8/fFu2t/sP/et92leSfkVZnzvhCe | + | |
- | lbmVo5FmIMMYMpy9pBT6f0XrRzTcQM+j2EUVyBn/oEIMiLenycNo8+LD5+a3otmZ | + | |
- | wEAsqV+ZAtqqv5/+sgQNImNTftneBOxVz65TcWbSgbBeFHWM/DAHlSdKrnvFDdQa | + | |
- | 2OQtihuKaSfBIVHwD3FiyqAWdNGxV/zjwf+xyzH44S9gWlFVgEbVXLCqJirmc70a | + | |
- | v7CElDXNNN2ysMu9HYmOz/1bnjjKQ4NkntwHtbLSh2Iat6c5amx3vOZbAGJn7gN+ | + | |
- | XE12lKorq9pwbxwSwn9mufmcSJ0CtnhrMLPAZnZwZWhzzToBONFOGEPR3QnbSFCY | + | |
- | fcEsWadvQD2DfIxp1Y316cpzoMQ7fN6JiAN7fpgRODC/g4Uz8U/LJ6UUm5T/CUaF | + | |
- | Sx9X5vpibYF+Y+0lU7dBCCu+TG1du/TmxSQKa2nPXgM/hydQ/hv5qy3a9wa5dVhb | + | |
- | oiY7g7PFTtrrNFcj6iWKg1/JLhorbN0EAiHhUgAW6MYBZ9FyZV/kmXz8ncWnQZB7 | + | |
- | 7yQW2daw3FzeOIfpZOmViSfFoDnZeikOnMICGEkx1jtFavbB8sAv4MTooeKPLu3s | + | |
- | T0nZaZpOPmfrlIiPp8I1OYs7a8N5OQJxO8Mile4oXCsdpxzuia8fkGurlP5Ksuek | + | |
- | v4lUgoblaYCsQMtNvylIqMQxEKxsbqJ6kYstQ/Nlwyhhd/tpeajJG2OhIFY1dxQx | + | |
- | Obbvx1ji3O+IN0LBtbsO8zu0EX3QArpewlD6eLRHMLmvlan1KItz9ObRDRsTpSes | + | |
- | KnaLo4LowomiiMSPB9cHW/cbQqbrvQbKBnqPWTXi+SawKG3sX2v01ynaWpagUeUg | + | |
- | MRCFGZRR+mbslsSKy6FHXhGhWDL33AeIA+yHt+8zF2xN7A3+UIe3SDEG3hFFUEAU | + | |
- | Bk9S4uNSWzu6LKqLPQ3unUnAgMARYMkwrYZxMlb9hw5CmjmhVWhKi1jWzbOfatdl | + | |
- | fE5jniHaqxAMqQ1LEzfmjjBr7GtStvG6SRTb6ianctayt9ZPsxwl5e9dei1Dfclg | + | |
- | DJhXLyiwEnZKJ36R6IFsdDu/3g6yUdfepgXtQ2cSB24KbMDCvjTyG6DnZPNAJ4Ql | + | |
- | 9jNMtS8FByj6OltmtWy/hW8R2Nva3fqjuGWP4gqB16dedjnYqxiFgTwKQSuCK/1L | + | |
- | Wdcmqktruzs7YD79hGCiO8MVZ1S+tQtg32cf8cRkeGbXqhEb/srgslU1w67X73Nf | + | |
- | -----END RSA PRIVATE KEY-----" | + | |
===== [[generating]] Generating a New Key ===== | ===== [[generating]] Generating a New Key ===== | ||
Line 156: | Line 131: | ||
When the currently loaded key in PuTTYgen contains a certificate, the large [[#authorized_keys|//Public key for pasting// edit box]] is replaced by a button that brings up an information box telling you about the certificate, such as who it certifies your key as belonging to, when it expires (if ever), and the fingerprint of the CA key that signed it in turn. | When the currently loaded key in PuTTYgen contains a certificate, the large [[#authorized_keys|//Public key for pasting// edit box]] is replaced by a button that brings up an information box telling you about the certificate, such as who it certifies your key as belonging to, when it expires (if ever), and the fingerprint of the CA key that signed it in turn. | ||
- | |||
- | //This feature is available in PuTTYgen 0.78 included with latest beta version only.// &beta | ||
===== [[saving_private]] Saving Your Private Key to a Disk File ===== | ===== [[saving_private]] Saving Your Private Key to a Disk File ===== | ||
Line 233: | Line 206: | ||
PuTTYgen can also export private keys in OpenSSH format and in ssh.com format. To do so, select one of the //Export// options from the //Conversions// menu. Exporting a key works exactly like [[#saving_private|saving it]] -- you need to have typed your passphrase in beforehand, and you will be warned if you are about to save a key without a passphrase. | PuTTYgen can also export private keys in OpenSSH format and in ssh.com format. To do so, select one of the //Export// options from the //Conversions// menu. Exporting a key works exactly like [[#saving_private|saving it]] -- you need to have typed your passphrase in beforehand, and you will be warned if you are about to save a key without a passphrase. | ||
- | For OpenSSH there are two options. Modern OpenSSH actually has two formats it uses for storing private keys. //Export OpenSSH key// will automatically choose the oldest format supported for the key type, for maximum backward compatibility with older versions of OpenSSH; for newer key types like Ed25519, it will use the newer format as that is the only legal option. If you have some specific reason for wanting to use OpenSSH's newer format even for RSA, DSA, or ECDSA keys, you can choose //Export OpenSSH key (force new file format)//. | + | For OpenSSH there are two options. Modern OpenSSH actually has two formats it uses for storing private keys: an older ("PEM-style") format, and a newer "native" format with better resistance to passphrase guessing and support for comments. //Export OpenSSH key// will automatically choose the oldest format supported for the key type, for maximum backward compatibility with older versions of OpenSSH; for newer key types like Ed25519, it will use the newer format as that is the only legal option. If you have some specific reason for wanting to use OpenSSH's newer format even for RSA, DSA, or ECDSA keys – for instance, you know your file will only be used by OpenSSH 6.5 or newer (released in 2014), and want the extra security – you can choose //Export OpenSSH key (force new file format)//. |
You can also use WinSCP ''[[commandline#keygen|/keygen]]'' command-line switch to convert the private key from other formats. | You can also use WinSCP ''[[commandline#keygen|/keygen]]'' command-line switch to convert the private key from other formats. | ||
Line 246: | Line 219: | ||
The options supported on the PuTTYgen command line are: | The options supported on the PuTTYgen command line are: | ||
- | | ''-t <keytype>'' | [[#type|Type of key]] to generate. You can select ''rsa'', ''dsa'', ''ecdsa'', ''eddsa'', ''ed25519'' or ''ed448'' //(the last three in PuTTYgen 0.78 included with latest beta version only)// &beta | | + | | ''-t <keytype>'' | [[#type|Type of key]] to generate. You can select ''rsa'', ''dsa'', ''ecdsa'', ''eddsa'', ''ed25519'' or ''ed448'' | |
| ''-b <bits>'' | [[#size|Size of the key]] to generate, in bits. | | | ''-b <bits>'' | [[#size|Size of the key]] to generate, in bits. | | ||
| ''%%--primes <method>%%'' | [[#method|Method for generating prime numbers]]. You can select ''probable'', ''proven'', and ''proven-even''. | | | ''%%--primes <method>%%'' | [[#method|Method for generating prime numbers]]. You can select ''probable'', ''proven'', and ''proven-even''. | |