SSHLauncher{host='XXX.XXX.X.XXX', port=22, credentialsId='XXXXXXXXXXXXXXXXXXX', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=210, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
[12/21/18 16:41:19] [SSH] Opening SSH connection to XXX.XXX.X.XXX:22.
[12/21/18 16:41:19] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed.
[12/21/18 16:41:19] [SSH] Authentication successful.
SSH connection reports a garbage before a command execution.
Check your .bashrc, .profile, and so on to make sure it is quiet.
The received junk text is as follows:
stdin: is not a tty
null
[12/21/18 16:41:20] Launch failed - cleaning up connection
[12/21/18 16:41:20] [SSH] Connection closed.--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1e6f8395-c7c3-4151-ade6-1efeef217aff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
When you find the interactive statements, you can wrap them in an ‘if [ ! –z “${PS1}” ]’ so they’re only executed when you log in interactively. Don’t copy/paste that if statement, I’m on microslop so those are wonky quotes.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHARZzzD3A%3DD24mdQ_vGgUvTMNwU6fNN%2B5a11YkY6fdqw%40mail.gmail.com.
grep -v -e "^#" -e "^$" /etc/ssh/sshd_config