Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- telnet: Unable to connect to remote host: Connection refused
- 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
- expect: read eof
- expect: set expect_out(spawn_id) "exp15"
- expect: set expect_out(buffer) "Trying 190.43.16.5...\r\ntelnet: Unable to connect to remote host: Connection refused\r\n"
- expect: spawn id exp15 not open
- while executing
- "expect {assword} {
- send -- "$pass\r"
- }"
- ("foreach" body line 22)
- invoked from within
- "foreach ip $ip_list {
- if {$ip != ""} {
- send_user "telnet to this host: $ip\n"
- # Connect
- spawn..."
- (file "./lm.exp" line 36)
Add Comment
Please, Sign In to add comment