in reply to Using Net::SSH2 with Net::Telnet::Cisco
Though note that Net::Telnet may expect to find a server talking the TELNET protocol at the other side of the connection but the SSH connection will just pass all the data stream to the remote shell unmodified.use Net::OpenSSH; my $ssh = Net::OpenSSH->new($host); my ($fh, $pid) = $ssh->open2socket(); my $conn = Net::Telnet->new(Fhopen => $fh);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Net::SSH2 with Net::Telnet::Cisco
by ryber (Acolyte) on Jan 20, 2011 at 18:10 UTC | |
by salva (Canon) on Jan 20, 2011 at 20:40 UTC | |
|
Re^2: Using Net::SSH2 with Net::Telnet::Cisco
by pchel (Initiate) on Apr 05, 2011 at 01:09 UTC | |
by salva (Canon) on Apr 05, 2011 at 08:16 UTC | |
by gnork (Scribe) on Aug 07, 2012 at 11:02 UTC |