in reply to Re: Using Net::SSH2 with Net::Telnet::Cisco
in thread Using Net::SSH2 with Net::Telnet::Cisco
But I got message belowuse Net::OpenSSH; use Net::Telnet; my $ssh = Net::OpenSSH->new('pa:abc@10.0.0.1'); my ($fh, $pid) = $ssh->open2socket(); my $conn = Net::Telnet->new(Fhopen => $fh); my @lines = $conn->cmd("sh ver"); print join "\n";
Could you please give me a more detailed example?Pseudo-terminal will not be allocated because stdin is not a termina +l. command timed-out at t1.pl line 6
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using Net::SSH2 with Net::Telnet::Cisco
by salva (Canon) on Apr 05, 2011 at 08:16 UTC | |
by gnork (Scribe) on Aug 07, 2012 at 11:02 UTC |