Oooh I think I just found something interesting...
Later in the script I scp the file to another server. I have to use Net::SCP::Expect for this server since the whole key thing isn't set up. So my very first line of the script after the #! is use Net::SCP::Expect. When I commented that out, everything worked fine for getting the file from the first server.
Can I not use Net::SCP and Net::SCP:Expect in the same script??
In reply to Net::SCP and Net::SCP::Expect in the same script
by xorl
in thread How do I debug a problem with Net:SSH
by xorl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |