Guest User

Untitled

a guest
Dec 3rd, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.95 KB | None | 0 0
  1. expect: does "Trying 190.43.16.5...\r\n" (spawn_id exp15) match regular expression "ogin|sername"? (No Gate, RE only) gate=yes re=no
  2. telnet: Unable to connect to remote host: Connection refused
  3.  
  4. expect: does "Trying 190.43.16.5...\r\ntelnet: Unable to connect to remote host: Connection refused\r\n" (spawn_id exp15) match regular expression "ogin|sername"? (No Gate, RE only) gate=yes re=no
  5. expect: read eof
  6. expect: set expect_out(spawn_id) "exp15"
  7. expect: set expect_out(buffer) "Trying 190.43.16.5...\r\ntelnet: Unable to connect to remote host: Connection refused\r\n"
  8. expect: spawn id exp15 not open
  9.     while executing
  10. "expect {assword} {
  11.                        send -- "$pass\r"
  12.                    }"
  13.     ("foreach" body line 22)
  14.     invoked from within
  15. "foreach ip $ip_list {
  16.        if {$ip != ""} {
  17.                send_user "telnet to this host: $ip\n"
  18.  
  19.                # Connect
  20.                spawn..."
  21.     (file "./lm.exp" line 36)
Add Comment
Please, Sign In to add comment