Executing subroutine ssh_to_ip # ctl_path: /home/tmcurti/.libnet-openssh-perl/cisco-10.250.10.100-4421-812531, ctl_dir: /home/tmcurti/.libnet-openssh-perl/ # _is_secure_path(dir: /home/tmcurti/.libnet-openssh-perl, file mode: 16832, file uid: 1000, euid: 1000 # _is_secure_path(dir: /home/tmcurti, file mode: 16877, file uid: 1000, euid: 1000 # set_error(0 - 0) # call args: ['ssh','-xMN','-o','NumberOfPasswordPrompts=1','-o','PreferredAuthentications=keyboard-interactive,password','-S','/home/tmcurti/.libnet-openssh-perl/cisco-10.250.10.100-4421-812531','-o','User=cisco','--','10.250.10.100'] # passwd requested (Password:) # call args: ['ssh','-O','check','-T','-S','/home/tmcurti/.libnet-openssh-perl/cisco-10.250.10.100-4421-812531','-o','User=cisco','--','10.250.10.100'] # open_ex: ['ssh','-O','check','-T','-S','/home/tmcurti/.libnet-openssh-perl/cisco-10.250.10.100-4421-812531','-o','User=cisco','--','10.250.10.100'] # io3 mloop, cin: 0, cout: 1, cerr: 0 # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 27 at offset 0 #> 4d 61 73 74 65 72 20 72 75 6e 6e 69 6e 67 20 28 70 69 64 3d 34 34 32 32 29 0d 0a | Master running (pid=4422).. # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 0 at offset 27 # leaving _io3() # _waitpid(4424) => pid: 4424, rc: Opening command file cmd.txt Processing command show ver | inc uptime from file cmd.txt Processing command show run | inc interface.*5 from file cmd.txt Parse_commands command is show ver | inc uptime Parse_commands command is show run | inc interface.*5 Test array value is show ver | inc uptime Test array value is show run | inc interface.*5 # call args: ['ssh','-S','/home/tmcurti/.libnet-openssh-perl/cisco-10.250.10.100-4421-812531','-o','User=cisco','--','10.250.10.100','show ver | inc uptime'] # open_ex: ['ssh','-S','/home/tmcurti/.libnet-openssh-perl/cisco-10.250.10.100-4421-812531','-o','User=cisco','--','10.250.10.100','show ver | inc uptime'] Attempting to execute command show ver | inc uptime on host 10.250.10.100# io3 mloop, cin: 0, cout: 1, cerr: 0 # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 61 at offset 0 #> 20 63 73 2d 6c 61 62 36 35 30 36 20 75 70 74 69 6d 65 20 69 73 20 34 20 77 65 65 6b 73 2c 20 34 | cs-lab6506 uptime is 4 weeks, 4 #> 20 64 61 79 73 2c 20 32 31 20 68 6f 75 72 73 2c 20 33 30 20 6d 69 6e 75 74 65 73 0d 0a | days, 21 hours, 30 minutes.. # io3 fast, cin: 0, cout: 1, cerr: 0 Connection to 10.250.10.100 closed by remote host. # stdout, bytes read: 0 at offset 61 # leaving _io3() # _waitpid(4425) => pid: 4425, rc: 0 # set_error(1 - master ssh connection broken) Attempting to execute command show run | inc interface.*5 on host 10.250.10.1000 # DESTROY(Net::OpenSSH=HASH(0x913ed78), pid => 4422) # killing master # sending exit control to master # _kill_master: 4422 # waitpid(master: 4422) => pid: 4422, rc: