How to set up SSH keys in PuTTY

How to set up SSH keys in PuTTY

ยท

2 min read

Generate a public/private SSH keys

  1. Access to SSH key generating page and log in with your CNS account.

Convert SSH Key

  1. You can not use the SSH Key pairs which downloaded from SSH key generating page as it is OpenSSH type.
    Convert SSH private key by using PuTTYgen. (Japanese article)

How to set up PuTTY

  1. Launch PuTTY, select [connect] -> [SSH] -> [Authentication], and click [Browse].

  2. Select the saved private key, and then click [Open].
    If you downloaded it in IE, it would be named as id_dsa.txt. Please change the [file type] to all file.

  3. Review the private key file for authentication, and then click the [session] on the left side of the screen.

  4. Set host name and saved session to CNS server like ccx01 or ccz00, and then click Save.

  5. Select the session that you saved from the session list, and then click Open.

  6. After type your CNS ID in [login as:],enter the passphrase that you entered in SSH key generation page.

Set up character code

If the characters are garbled, change the character encoding to UTF-8.

  1. Click [Translation] from Window category and select [UTF-8].

How to install PuTTY

  1. Open the Web page https://www.ranvis.com/putty

  2. Download the latest version of the installer located in Downloads.

  3. Run the installer and follow the messages to install. If blocked by "Microsoft Defender SmartScreen" when running, Click "More info" and press "Run anyway".

ย