... 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.
In reply to Re^2: Net::OpenSSH multiple commands
by salva
in thread Net::OpenSSH multiple commands
by mlebel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |