Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
OK, I have made some progress. I ran the perl debugger and after the 2nd print statement, the debugger throws following error:
When I look into the "package Net::SSH::Expect", it is mentioned right on the top that:
So,..my assumption in my previous replies was correct, the script is ignoring the "send " statement because now I realize that by teh time the script reaches to execute the "send" statement, the ssh connection does not remain active. Could you please help me figure this out, I cannot reason why would my ssh connection get closed ?? In reply to Re^3: Run interactive commands with "Net::SSH::Expect"
by slayedbylucifer
|
|