in reply to Re^4: How to solve Pseudo terminal issue OpenSSH
in thread How to solve Pseudo terminal issue OpenSSH
Try using CRLF as the line terminator:
Note also, that capture may return some content even when an error is signaled and getting the error OSSH_SLAVE_CMD_FAILED may be non fatal.my @output = $ssh->capture({stdin_data => "@cmd\r\n@quitcmd\r\n"});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How to solve Pseudo terminal issue OpenSSH
by waytoperl (Beadle) on May 14, 2015 at 14:39 UTC | |
by salva (Canon) on May 14, 2015 at 16:29 UTC | |
by waytoperl (Beadle) on May 14, 2015 at 16:54 UTC | |
by salva (Canon) on May 14, 2015 at 17:10 UTC |