Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Add Comment
Please, Sign In to add comment