SSH Key Creation and Login(Tera Term version)

National Institutes of Natural Sciences
Okazaki Research Facilities
Research Center for Computational Science (RCCS)(Verified with Tera Term 5.1)

Changelog• Jul. 11, 2019
• Jan. 15, 2020
• Feb 2, 2021
• Jan 5, 2022
• Jan 16, 2023
• Mar 6, 2023
• Jun 2, 2023
• Nov 20, 2023
• Jan 18, 2024

First version
Minor update of images for version 4.105
Minor updates including recommended key types
Verified with Tera Term 4.106
Update notice about RSA key
Add description about Tera Term 5.0 beta 1
Minor fix of wording
Update address of official website & test with 5.0
Verified with Tera Term 5.1

Introduction
The aim of this document is to explain how to login to RCCS
supercomputer using Tera Term.

Table of Contents• Install Tera Term
• SSH key creation• Register public key• LoginInstall Tera Term
Tera Term can be downloaded from the following site.
https://teratermproject.github.io/index-en.html
Please install Tera Term according to the instruction.

SSH key creation (1)Launch Tera Term, and then cancel connection.

Click this!

SSH key creation (2)Select [SSH KeyGenerator] from [Setup] menu.

SSH key creation (3)Specify key type and the click “Generate” button.
Click to gen key

Choose key type

Change key bits(in case of RSA)
* To use RSA key, please use
Tera Term 5.0, 4.107, or later
version.

Following key types are recommended in RCCS:- ED25519- ECDSA-521, ECDSA-384, ECDSA-256- RSA 4096 bits (choose RSA and change “Key Bits” to 4096)*
If you have no preference, try ED25519.

SSH key creation (4)Once key generation finished, set passphrase and thensave both of two keys (public key & private key)

RCCS recommends
passphrase of 10 ormore characters andcontaining all thefollowing 4 types ofcharacters.
- Lower case
- Upper case
- Number- Symbol

save public key

You might want to give aneasy-to-understand name forthis key.
(If you don’t have any plans tohave other SSH keys, default
save private key name would be enough.)

The private key file must be kept secret!

Register Public Key
Before login, you need to register the public key.
The procedure of the public key registration is available
from the following link.
https://ccportal.ims.ac.jp/en/account/

The private key file must be kept secret.

Login (1)Restart Tera Term or select [New connection] from [File] menu
to go back to the initial state.
Then type “ccfep.ims.ac.jp” in Host box, and click “OK”.

Input “ccfep.ims.ac.jp”

Click to proceedLogin (2)Upon first connection, security alert
will be shown.
Check the fingerprint; this mustmatch with either of the fingerprintin the list below.

Go ahead if the fingerprint is valid
・SHA256:wnEM30z4AxyDJ9XI/DdGr2PlNeoivFRR8v5krXHEmdU
・SHA256:0KL38Yn/kBee1pAuxyKwenEwXjtPxr9ZElolfVqXvbI
Fingerprints ・SHA256:Nhg+9Lgj3XeuW//A/j7jqgUJlIxWehryCtStIp1Dirsof valid ・MD5:ad:de:79:30:81:b0:b1:6a:17:f5:6f:ea:f4:b4:3b:deserver keys ・MD5:e3:a9:bb:6f:e4:a9:37:fd:98:14:54:16:3c:81:2d:aa

・MD5:07:7e:df:7b:16:47:a8:f5:7c:48:b0:a3:d3:86:71:6a

Login (3)Input your ID, private key location, and passphrase forthe private key.
Input user account given by RCCS
(three-letter ID)(optional) uncheckto improve security

Click to selectInput the passphrase of
the private key
Specify private key fileOK(You can set default user name and private key location on “Setup” menu.)

Login (4)If everything works fine, you will successfully login to login
server.