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);
In reply to Re: Using Net::SSH2 with Net::Telnet::Cisco
by salva
in thread Using Net::SSH2 with Net::Telnet::Cisco
by ryber
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |