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

  • Comment on Re^4: Using Net::SSH2 with Net::Telnet::Cisco

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
    That's really pushing my expertise. However, one thing I can do to help is to FrontPage your question. Hopefully that will get some qualified eyes on it.

    Elda Taluta; Sarks Sark; Ark Arks

      Thanks, Argel. I am happy for any help I may be able to get.