in reply to Re^3: Using Net::SSH2 with Net::Telnet::Cisco
in thread Using Net::SSH2 with Net::Telnet::Cisco
Thanks for your response, Argel. Yes, that did occur to me and I tried changing the "use" statements to require, but it did not make a difference. Both Net::Appliance::Session and Net::SSH::Perl still fail in the same way.
I am now looking at trying to use Net::Telnet::Cisco on top of Net::SSH2. What I would like to do is create an SSH connection and pass an open filehandle to Net::Telnet. However, Net::SSH2 creates only a PERL filehandle, and Net::Telnet wants a filehandle implemented at the C level (or so is my understanding).
Any thoughts on how I might be able to swing that? I was thinking I might be able to open a file on the underlying Unix system to which I could somehow pipe the PERL handle I got back from Net::SSH2
Thanks, Ryan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Using Net::SSH2 with Net::Telnet::Cisco
by Argel (Prior) on Jan 19, 2011 at 02:40 UTC | |
by ryber (Acolyte) on Jan 20, 2011 at 18:12 UTC |