http://www.perlmonks.org?node_id=1047205


in reply to Net::OpenSSH - line breaks and "End of Output"

Can you show us the specific code you are using to run the remote commands?

EOF handling is part of the SSH protocol. There is not any special sequence or prompt to detect when a command is done.

Also, again, enable debugging on the module and show us the output.