Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- expect: does "Trying 190.43.16.98...\r\nConnected to 190.43.16.98.\r\nEscape character is '^]'.\r\nConnection closed by foreign host.\r\n" (spawn_id exp22) match glob pattern "Username:"? no
- "Unable to connect to remote host"? no
- expect: read eof
- expect: set expect_out(spawn_id) "exp22"
- expect: set expect_out(buffer) "Trying 190.43.16.98...\r\nConnected to 190.43.16.98.\r\nEscape character is '^]'.\r\nConnection closed by foreign host.\r\n"
- expect: spawn id exp22 not open
- while executing
- "expect "Password:""
- ("foreach" body line 29)
- invoked from within
- "foreach ip $ip_list {
- if {$ip != ""} {
- send_user "telnet to this host: $ip\n"
- # Connect
- spawn..."
- (file "./pre.exp" line 18)
Add Comment
Please, Sign In to add comment