Guest User

Untitled

a guest
Jan 14th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. domain = 'hoge.co.jp'
  2. hostname = 'your_hostname'
  3. username = 'your_username'
  4. password = 'your_password'
  5.  
  6. remote_prompt = "$"
  7.  
  8. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  9.  
  10. COM = '#hostname.#domain:/ssh /auth=password /user=#user /passwd=#password '
  11. strreplace COM 1 '#hostname' hostname
  12. strreplace COM 1 '#domain' domain
  13. strreplace COM 1 '#user' username
  14. strreplace COM 1 '#password' password
  15.  
  16. connect COM
  17. wait remote_prompt
Add Comment
Please, Sign In to add comment