Created
October 6, 2011 13:14
-
-
Save eiryu/1267366 to your computer and use it in GitHub Desktop.
TeraTerm自動ログイン
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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