編集不可のページ History 添付ファイル

 

TUT HPC Cluster Wiki: en / SSHClient / WindowsCUI

[English|Japanese]

How to use SSH client (Windows CUI).

As an SSH client for Windows, tools such as Tera Term and 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 the official Tera Term web site.

The latest setup file as of January 16, 2015 is teraterm-4.85.exe.

teraterm-setup-1.png

Click the downloaded setup program and execute the file.

teraterm-setup-2.png

The Setup Wizard is displayed. Click [次へ] (Next).

teraterm-setup-3.png

License agreement is displayed. Click [同意する] (I accept the agreement) and click [次へ] (Next).

teraterm-setup-4.png

Specify an installation folder. Click [次へ] (Next).

teraterm-setup-5.png

Select components that should be installed. Click [次へ] (Next).

teraterm-setup-6.png

Select the language of application’s menu and dialog. Click [次へ] (Next).

teraterm-setup-7.png

Select where the program’s shorcut should be placed. Click [次へ] (Next).

teraterm-setup-8.png

Select additional tasks that should be performed. Click [次へ] (Next).

teraterm-setup-9.png

Check the installation summary. Click [インストール] (Install).

teraterm-setup-10.png

Installation of Tera Term is complete. Click [完了] (Finish).

teraterm-setup-11.png

How to connect with Tera Term

Start Tera Term from Start menu.

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].

teraterm-connect-2.png

When connecting a server for the first time, a dialog to check if the server name is correct. Click [続行] (Continue).

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.

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.

teraterm-connect-5.png

Generation of a public key

Start Tera Term.

teraterm-connect-1.png

Although a dialog to enter a connection destination, click [キャンセル] (Cancel).

teraterm-connect-2.png

Click [SSH鍵生成] (SSH KeyGenerator) in the [設定] (Setup) menu.

teraterm-pubkey-1.png

Make sure that [RSA] is selected and 2048 is entered in the [ビット数] (Key Bits) and click [生成] (Generate).

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.

teraterm-pubkey-3.png