|Just another Perl shrine|
Net::OpenSSH - line breaks and "End of Output"by Andy16 (Acolyte)
|on Jul 31, 2013 at 07:30 UTC||Need Help??|
Andy16 has asked for the
wisdom of the Perl Monks concerning the following question:
Hi Monks - hi Salva (I guess / hope ... :->)
another issue I'm facing:
some of the devices I'm connecting to via OpenSSH do
reqire a "\n" at the end of the command to execute -
some dont't. Is there a way of harmonizing that?
And: for some devices/commands OpenSSH does not realize
end of output and get's stuck in reading.
is there an EXPECT waiting for a prompt that differs in
that case or how is EOF detected.
thanks a lot - again!