- Run the Puttygen (i.e. Putty Key Generator).
- Click the Generate button.
- Move the mouse cursor on the blank area provided by the generator.
- Update the Key comment field if desired.
- Provide an identical passphrase to the following fields if desired:
- Key passphrase
-
- Confirm passphrase
- Click Save private key button.
- Click Save public key if desired.
The content of public key file is the one to be copied on the server with the following format:
ssh-rsa <CONTINUOUS_PUBLIC_KEY> <KEY_COMMENT>
And the file normally have the following format:
---- BEGIN SSH2 PUBLIC KEY ---- Comment: <KEY_COMMENT> <DELIMITED_PUBLIC_KEY> ---- END SSH2 PUBLIC KEY ----
You are reading it right, in the file, the public key (i.e. DELIMITED_PUBLIC_KEY) is delimited by a carriage return. Thus, you need to remove it to have the CONTINUOUS_PUBLIC_KEY.
Leave a Reply