in reply to Special Characters_CommandOutput

Read the FAQ in the Net::OpenSSH documentation about connecting to networking devices.

Try also using the stdin_keep_open hack:

@output = $ssh->capture({stdin_data => '', stdin_keep_open => 1}, $Com +mandE);