Tera Term 자동실행

업무 2023. 7. 20. 14:34
반응형

매크로 실행 아이콘
ttpmacro.exe 바로가기 만들고 속성 - 바로가기 탭 - 대상을
"C:\Program Files (x86)\teraterm\ttpmacro.exe" macro.ttl

ssh 접속 매크로
show -1
username = 'test'
hostname = '10.20.30.40
msg = hostname
strconcat msg ':22 / ssh / auth=password /user='
strconcat msg username
strconcat msg , /passwd='
strconcat msg '비밀번호'

connect msg

wait '#'
;sendln 'ssh test@node1'
sendln 'tail -f 경로'
settitle 'server name'

반응형
Posted by ThinkPad War
,