Using ssh with ConnectionAttempts set to zero results in the contents of uninitialised memory being sent to stdout. For example: $ ssh -o ConnectionAttempts=0 somehost ssh: connect to host somehost port \200\335q\002\374\177: Success Cause: When ssh_connect_direct() is passed connection_attempts=0, the strport[] buffer is never initialised, since the whole attempt loop is skipped. Its contents are later output in the error message after the skipped loop (sshconnect.c:485).
Fixed in https://anongit.mindrot.org/openssh.git/commit/?id=88b6fcdeb87a2fb76767854d9eb15006662dca57 - thanks. This will be released in OpenSSH 7.2
Close all resolved bugs after release of OpenSSH 7.7.