connect '192.168.0.2:23 /nossh /T=1 /W="jitaku" /F=TERATERM_ARERT.INI /K=KEYBOARD.CNF' wait 'login:' sendln 'hogehoge' wait 'Password:' sendln 'password'KEYBOARD.cnfに以下を追記
[User keys] User1=1083,2,sudo.ttlKEYBOARD.ttlがあるところにsudo.ttlをおく
sendln 'sudo -s' pause 1 sendln 'passwd'