in reply to Net::OpenSSH loosing lines ins reply
$index++; $ssh->system({ timeout => $sshtimeout, stdin_data => "\n", stdout_file => "/tmp/stdout_${index}.txt" }, $sshcmd."\n");
Then look into those files, if there is still some missing data, it would mean that the problem is on the SSH layer, probably on the SSH server. Otherwise, the more likely cause of the problem would be some bug on Net::OpenSSH.
It is not uncommon for network equipment to have defective SSH implementations. When that happens, if you are lucky, a firmware update may solve it. Otherwise, you may need to employ some ugly workaround like activating pagination and using Expect to request pages.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::OpenSSH loosing lines ins reply
by Andy16 (Acolyte) on Jun 04, 2014 at 11:03 UTC | |
by salva (Canon) on Jun 04, 2014 at 11:10 UTC | |
by Andy16 (Acolyte) on Jun 04, 2014 at 11:53 UTC | |
by salva (Canon) on Jun 04, 2014 at 12:07 UTC | |
by Andy16 (Acolyte) on Jun 04, 2014 at 12:19 UTC | |
by salva (Canon) on Jun 04, 2014 at 12:33 UTC | |
|