[English|[[SSHClient/WindowsCUI|Japanese]]] = How to use SSH client (Windows CUI). = As an SSH client for Windows, tools such as [[http://ttssh2.sourceforge.jp|Tera Term]] and [[http://hp.vector.co.jp/authors/VA024651/PuTTYkj.html|PuTTY]] can be used. This page provides an explanation on how to set up and use Tera Term. <> == Setup == Download the latest setup file from [[http://sourceforge.jp/projects/ttssh2/releases/|the official Tera Term web site]]. The latest setup file as of January 16, 2015 is teraterm-4.85.exe. {{attachment:teraterm-setup-1.png}} Click the downloaded setup program and execute the file. {{attachment:teraterm-setup-2.png}} The Setup Wizard is displayed. Click [次へ] (Next). {{attachment:teraterm-setup-3.png}} License agreement is displayed. Click [同意する] (I accept the agreement) and click [次へ] (Next). {{attachment:teraterm-setup-4.png}} Specify an installation folder. Click [次へ] (Next). {{attachment:teraterm-setup-5.png}} Select components that should be installed. Click [次へ] (Next). {{attachment:teraterm-setup-6.png}} Select the language of application’s menu and dialog. Click [次へ] (Next). {{attachment:teraterm-setup-7.png}} Select where the program’s shorcut should be placed. Click [次へ] (Next). {{attachment:teraterm-setup-8.png}} Select additional tasks that should be performed. Click [次へ] (Next). {{attachment:teraterm-setup-9.png}} Check the installation summary. Click [インストール] (Install). {{attachment:teraterm-setup-10.png}} Installation of Tera Term is complete. Click [完了] (Finish). {{attachment:teraterm-setup-11.png}} == How to connect with Tera Term == Start Tera Term from Start menu. {{attachment:teraterm-connect-1.png}} Enter the server that you connect in the [ホスト] (Host). To see the name of destination servers, click [[../|here]]. Make sure that [SSH] is selected as [サービス] (Service) and click [OK]. {{attachment:teraterm-connect-2.png}} When connecting a server for the first time, a dialog to check if the server name is correct. Click [続行] (Continue). {{attachment:teraterm-connect-3.png}} Enter the account name of the Information and Media Center in [ユーザ名] (User name). For users outside the university, a string like parXXXXXX, which is shown when an account is created, is your account name. Then, enter authentication information. Users inside the university should select [プレインパスワードを使う (Use plain password to log in) and enter the password. Users outside the university should select [RSA/DSA/ECDSA/ED25519鍵を使う] (Use RSA/DSA/ECDSA/ED25519 key to log in) and enter your secret key and passphrase. {{attachment:teraterm-connect-4.png}} When it successfully connects the server, the below screen is displayed. If the connection attempt fails, make sure that the server name, your account name, password, etc. are correct once again. {{attachment:teraterm-connect-5.png}} == Generation of a public key == Start Tera Term. {{attachment:teraterm-connect-1.png}} Although a dialog to enter a connection destination, click [キャンセル] (Cancel). {{attachment:teraterm-connect-2.png}} Click [SSH鍵生成] (SSH Key''''''Generator) in the [設定] (Setup) menu. {{attachment:teraterm-pubkey-1.png}} Make sure that [RSA] is selected and 2048 is entered in the [ビット数] (Key Bits) and click [生成] (Generate). {{attachment:teraterm-pubkey-2.png}} Enter passphrase of a generated key in [鍵のパスフレーズ] (Key passphrase) and [パスフレーズの確認] (Confirm passphrase). The passphrase is necessary when connecting to the HPC cluster, set a sufficiently long and memorable passphrase. Click [公開鍵の保存] (Save public key) and [秘密鍵の保存] (Save private key) and save both keys. Private keys are important files used in authentication. Save the file in disk space which other users cannot access. {{attachment:teraterm-pubkey-3.png}}