Description of SSH connection which is a feature of Tera Term. When the TTSSH module is installed, Tera Term supports the SSH connection.
SSH is composed of two protocols, namely SSH1 and SSH2. Be careful that SSH2 is NOT upward compatible of SSH1. These protocols should be chosen carefully according to the host to be connected. TTSSH supports both protocols.
There are several ways of connection of SSH as follows
When Tera Term is activated, the following dialog will let you choose login procedure.
When using SSH, you should change SSH version in a default parameter. Make sure that it is synchronized to the host to be connected.
Once connected, then you will be prompted to select authentication method in a dialog.
If you want to use Password authentication, then make sure that [Use plain password to log in] is chcked and type in username and password. If they are correct, you can login.
When using Key-pair authentication, check [RSA/DSA key to log in] (second from the top line) and click [Private key file:] to specify Private key file. Then type in username and Private key pass phrase.
Here, we will describe how to generate Public/Private key. To generate key, select [Setup] menu and choose [SSH KeyGenerator...].
Then you will see a dialog of key generation.
[Key type] is to select key types - [RSA1] for SSH1 protocol and [RSA] or [DSA] for SSH2 protocol should be chosen respectively. After choosing key type, you will be prompted for pass phrase by clicking [Generate] button. Type in pass phrase (like a password, but it can include blank and usually much longer than password). Then click [Save public key] button, [Save private key] button to save these keys. File name can be left as default if you don't need. At the completion, click [Cancel] to finish this process.
For this file, when it is saved as default, all files which have an extension of [pub] (public key) will be stored in the specified location in the server (usually, it is (home dir)/.ssh/authorized_keys). All files which have NOT an extension are recognized as private key and you have to specify it at login.
Note: Since Private key should not be disclosed to other party, please be careful to make it secret. Please makre that it is NOT sent to server by accident.