login works but prints environment variables at start of every ssh session

3 posts / 0 new
Last post
Anonymous
login works but prints environment variables at start of every ssh session

Hi there.  Thanks in advance any help.

 

Using Copssh_5.4.2_x86_Free_Installer.

 

The sshd server seems to be printing  a bunch of environment variables.  How do I disable this?

 

testssh@172.16.208.139's password:
debug1: Authentication succeeded (password).
Authenticated to 172.16.208.139 ([172.16.208.139]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
Environment:
  WINDIR=C:\Windows
  OS=Windows_NT
  ALLUSERSPROFILE=C:\ProgramData
  PATH=/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/
  SYSTEMDRIVE=C:
  CYGWIN=nontsec binmode
  PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
  COMSPEC=C:\Windows\system32\cmd.exe
  SYSTEMROOT=C:\Windows
  PROGRAMFILES=C:\Program Files (x86)
  COMPUTERNAME=WIN-V2KC7RMS5OL
  USER=testssh
  LOGNAME=testssh
  HOME=/cygdrive/c/copssh_x86/home/testssh
  MAIL=/var/spool/mail//testssh
  SHELL=/bin/bash
  SSH_CLIENT=172.16.208.139 27817 22
  SSH_CONNECTION=172.16.208.139 27817 172.16.208.139 22
  SSH_TTY=/dev/pty0
  TERM=xterm

itefix
Offline
Last seen: 5 days 13 hours ago
Joined: 01.05.2008 - 21:33
It is by design. We will

It is by design. We will consider to remove it in future releases.

Anonymous
When I am trying to setup a

When I am trying to setup a Jenkins slave on Windows, it is not happy with the verbose login.

Is the verbose login new to version Copssh_5.4.2_x86_Free_Installer?

I have another older Jenkins windows slave using the free copssh and it is not having this issue.

Thank you again for your time and effort to respond.

 

[02/05/16 16:01:32] [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:
Environment:
WINDIR=C:\Windows
OS=Windows_NT
ALLUSERSPROFILE=C:\ProgramData
PATH=/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
SYSTEMDRIVE=C:
CYGWIN=nontsec binmode
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
COMSPEC=C:\Windows\system32\cmd.exe
SYSTEMROOT=C:\Windows
PROGRAMFILES=C:\Program Files (x86)
COMPUTERNAME=NRPPTEST
USER=nrsqaua
LOGNAME=nrsqaua
HOME=/cygdrive/c/copssh_x86/home/nrsqaua
MAIL=/var/spool/mail//nrsqaua
SHELL=/bin/bash
SSH_CLIENT=10.10.10.235 59394 1022
SSH_CONNECTION=10.10.10.235 59394 10.10.10.16 1022

hudson.AbortException
at hudson.plugins.sshslaves.SSHLauncher.verifyNoHeaderJunk(SSHLauncher.java:884)
at hudson.plugins.sshslaves.SSHLauncher.access$100(SSHLauncher.java:137)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:713)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:706)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Release announcements