Creating an automatic login macro with TeraTerm SSH connection

Create a macro for automatic connection with SSH2 with TeraTerm on Windows. Save it as login.ttl wherever you like. Write your own in / user and / passwd. In / keyfile, specify the path of the private key.

connect ' /ssh /2 /auth=publickey /keyfile= /user= /passwd='

For the connect option of Teraterm macro, here is a reference.

connect - TeraTerm Commands

After that, if you associate this .ttl file with "ttpmacro.exe", you can click it to start it.

Associated Information