in reply to Re: Net::OpenSSH multiple commands
in thread Net::OpenSSH multiple commands
... does mostly nothing, delete it.my ($pty,$pid) = $ssh->open2pty or die "unable to run remote command show ip arp";
This code, however, gives me 2 errors
Those are probably harmless, generated by OpenSSH because you are requesting a remote pty but attaching it to a non-pty stream.
BTW, when writing follow ups to previous comments, do not reply to main question but to those, otherwise the person you are responding (i.e. me) will probably miss the reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Net::OpenSSH multiple commands
by mlebel (Hermit) on Apr 24, 2012 at 11:32 UTC | |
|
Re^3: Net::OpenSSH multiple commands
by mlebel (Hermit) on Apr 24, 2012 at 19:10 UTC | |
by salva (Canon) on Apr 25, 2012 at 09:22 UTC | |
by mlebel (Hermit) on Apr 25, 2012 at 11:36 UTC | |
by mlebel (Hermit) on May 24, 2012 at 15:25 UTC |