Or SSH) that was used during last time when teraterm.ini file was saved. In case it was SSH than your macro will try toĬonnect via SSH and will eventually fail. connect ' myserver /ssh /1' # outdated, not recommended unless absolutely necessary This way will start SSH connection without defining whether SSH1 or SSH2 has to be used.
connect ' myserver /ssh /auth=password /user= username /passwd= password'Ĭonnect ' myserver /ssh /2 /auth=password /user= username /passwd= password'Ĭonnect ' myserver /ssh /auth=publickey /user= username /passwd= password /keyfile= private-key-file'Ĭonnect ' myserver /ssh /2 /auth=publickey /user= username /passwd= password /keyfile= private-key-file'Ĭonnect ' myserver /ssh /auth=challenge /user= username /passwd= password'Ĭonnect ' myserver /ssh /2 /auth=challenge /user= username /passwd= password' Parameters /1 and /2 force to use SSH1 or SSH2 method. Note: path to /keyfile should be relative to Teraterm directory. Absiolute path does not work.Ībove 9 ways allow to skip popup dialog and pass username and password directly from macro.