Skip to content

Instantly share code, notes, and snippets.

@eiryu
Created October 6, 2011 13:14
Show Gist options
  • Save eiryu/1267366 to your computer and use it in GitHub Desktop.
Save eiryu/1267366 to your computer and use it in GitHub Desktop.
TeraTerm自動ログイン
domain = 'hoge.co.jp'
hostname = 'your_hostname'
username = 'your_username'
password = 'your_password'
remote_prompt = "$"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
COM = '#hostname.#domain:/ssh /auth=password /user=#user /passwd=#password '
strreplace COM 1 '#hostname' hostname
strreplace COM 1 '#domain' domain
strreplace COM 1 '#user' username
strreplace COM 1 '#password' password
connect COM
wait remote_prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment