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 '192.168.0.2:22 /ssh /2 /auth=publickey /keyfile= /user= /passwd='
For the connect option of Teraterm macro, here is a reference.
After that, if you associate this .ttl file with "ttpmacro.exe", you can click it to start it.