Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <011801c31001$b9e489c0$6401a8c0@moose> From: "Pat Lightbody" To: Subject: Cannot SSH in to server Date: Thu, 1 May 2003 09:50:09 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 I have a very strange problem: whenever I have an xterm window launced from whithin XFree86 (note: this is different than run xterm from startx.bat), I cannot SSH in to any server unless I can use my RSA/DSA keys (ie, if it asks me for a normal password, my ssh client locks up). I'm sure it has something to do with my env variables, so I've attached the output of 'set' for the xterm that does work and the ones that don't. Also, attached is the debug level logs of the ssh client when it locks up. Anyone have any ideas? -Pat Env for when SSH doesn't lock up (xterm lunched from startx.bat): !C:='C:\cygwin\usr\X11R6\bin' !EXITCODE=00000210 ALLUSERSPROFILE='C:\Documents and Settings\All Users' ANT_HOME='c:\jdk1.4.1\ant' APPDATA='C:\Documents and Settings\plightbo\Application Data' BASH=/usr/bin/bash BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="9" [4]="release" [5]="i686-pc-cygwin") BASH_VERSION='2.05b.0(9)-release' CLIENTNAME=Console COLUMNS=80 COMMONPROGRAMFILES='C:\Program Files\Common Files' COMPUTERNAME=CHEETAH COMSPEC='C:\WINDOWS\system32\cmd.exe' CVS_RSH=ssh CYGWIN=nontsec CYGWIN_ROOT='\cygwin' DIRSTACK=() DISPLAY=127.0.0.1:0.0 EUID=1003 GROUPS=() HISTFILE=/home/plightbo/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/home/plightbo HOMEDRIVE=C: HOMEPATH='\Documents and Settings\plightbo' HOSTNAME=cheetah HOSTTYPE=i686 IFS=$' \t\n' JAVA_HOME='c:\jdk1.4.1' JSERV='d:\oracle/Apache/Jserv/conf' LINES=24 LOGNAME=plightbo LOGONSERVER='\\CHEETAH' MACHTYPE=i686-pc-cygwin MAILCHECK=60 MAVEN_HOME='c:\jdk1.4.1\maven' NUMBER_OF_PROCESSORS=1 OLDPWD=/home/plightbo OPTERR=1 OPTIND=1 OS=Windows_NT OSTYPE=cygwin PATH='.:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WIN DOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/SecureCRT/:/cygdrive/c/jdk1.4.1/bin:/usr/bin:/usr/local/bin:/cygdrive/ c/jdk1.4.1/maven/bin:/cygdrive/c/jdk1.4.1/ant/bin:/cygdrive/c/jdk1.4.1/maven /bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/Sy stem32/Wbem:/cygdrive/c/Program Files/SecureCRT/' PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PIPESTATUS=([0]="130") PPID=1724 PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER='x86 Family 6 Model 8 Stepping 0, AuthenticAMD' PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0800 PROGRAMFILES='C:\Program Files' PROMPT='$P$G' PS1='\W>$ ' PS2='> ' PS4='+ ' PWD=/home/plightbo SESSIONNAME=Console SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments: monitor SHLVL=1 SYSTEMDRIVE=C: SYSTEMROOT='C:\WINDOWS' TEMP=/cygdrive/c/DOCUME~1/plightbo/LOCALS~1/Temp TERM=xterm TMP=/cygdrive/c/DOCUME~1/plightbo/LOCALS~1/Temp UID=1003 USERDOMAIN=CHEETAH USERNAME=plightbo USERPROFILE='C:\Documents and Settings\plightbo' WINDIR='C:\WINDOWS' WINDOWID=8388622 WV_GATEWAY_CFG='d:\oracle\Apache\modplsql\cfg\wdbsvr.app' _=--color Env for when SSH does lock up (xterm lunched from within X): !C:='C:\cygwin\usr\X11R6\bin' ALLUSERSPROFILE='C:\Documents and Settings\All Users' ANT_HOME='c:\jdk1.4.1\ant' APPDATA='C:\Documents and Settings\plightbo\Application Data' BASH=/bin/bash BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="9" [4]="release" [5]="i686-pc-cygwin") BASH_VERSION='2.05b.0(9)-release' CLIENTNAME=Console COLUMNS=80 COMMONPROGRAMFILES='C:\Program Files\Common Files' COMPUTERNAME=CHEETAH COMSPEC='C:\WINDOWS\system32\cmd.exe' CVS_RSH=ssh CYGWIN=nontsec CYGWIN_ROOT='\cygwin' DIRSTACK=() DISPLAY=127.0.0.1:0.0 EUID=1003 GROUPS=() HISTFILE=/home/plightbo/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/home/plightbo HOMEDRIVE=C: HOMEPATH='\Documents and Settings\plightbo' HOSTNAME=cheetah HOSTTYPE=i686 IFS=$' \t\n' JAVA_HOME='c:\jdk1.4.1' JSERV='d:\oracle/Apache/Jserv/conf' LINES=24 LOGNAME=plightbo LOGONSERVER='\\CHEETAH' MACHTYPE=i686-pc-cygwin MAILCHECK=60 MAKE_MODE=unix MANPATH=:/usr/ssl/man MAVEN_HOME='c:\jdk1.4.1\maven' NUMBER_OF_PROCESSORS=1 OLDPWD=/home/plightbo OPTERR=1 OPTIND=1 OS=Windows_NT OSTYPE=cygwin PATH='/usr/local/bin:/usr/bin:/bin:.:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WIN DOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdriv e/c/Program Files/SecureCRT/:/cygdrive/c/jdk1.4.1/bin:/usr/bin:/usr/local/bin:/cygdrive/ c/jdk1.4.1/maven/bin:/cygdrive/c/jdk1.4.1/ant/bin:/cygdrive/c/jdk1.4.1/maven /bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/Sy stem32/Wbem:/cygdrive/c/Program Files/SecureCRT/' PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PIPESTATUS=([0]="0") PPID=212 PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER='x86 Family 6 Model 8 Stepping 0, AuthenticAMD' PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0800 PROGRAMFILES='C:\Program Files' PROMPT='$P$G' PS1='\W>$ ' PS2='> ' PS4='+ ' PWD=/home/plightbo/work/petsoar/book SESSIONNAME=Console SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments: monitor SHLVL=1 SSH_AGENT_PID=612 SSH_AUTH_SOCK=/tmp/ssh-DBwS1292/agent.1292 SYSTEMDRIVE=C: SYSTEMROOT='C:\WINDOWS' TEMP=/cygdrive/c/DOCUME~1/plightbo/LOCALS~1/Temp TERM=xterm TMP=/cygdrive/c/DOCUME~1/plightbo/LOCALS~1/Temp TZ=PST8PDT7,M4.1.0/2,M10.5.0/2 UID=1003 USER=plightbo USERDOMAIN=CHEETAH USERNAME=plightbo USERPROFILE='C:\Documents and Settings\plightbo' WINDIR='C:\WINDOWS' WINDOWID=6291470 WV_GATEWAY_CFG='d:\oracle\Apache\modplsql\cfg\wdbsvr.app' X11PATH=/usr/X11R6/bin _=set i=/etc/profile.d/openssl.sh Debug log for when the lockup occurs: OpenSSH_3.6.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090702f debug1: Reading configuration data /home/plightbo/.ssh/config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug2: ssh_connect: needpriv 0 debug1: Connecting to ieng9.ucsd.edu [132.239.50.9] port 22. debug1: Connection established. debug1: identity file /home/plightbo/.ssh/identity type 0 debug2: key_type_from_name: unknown key type '-----BEGIN' debug2: key_type_from_name: unknown key type 'Proc-Type:' debug2: key_type_from_name: unknown key type 'DEK-Info:' debug2: key_type_from_name: unknown key type '-----END' debug1: identity file /home/plightbo/.ssh/id_rsa type 1 debug2: key_type_from_name: unknown key type '-----BEGIN' debug2: key_type_from_name: unknown key type 'Proc-Type:' debug2: key_type_from_name: unknown key type 'DEK-Info:' debug2: key_type_from_name: unknown key type '-----END' debug1: identity file /home/plightbo/.ssh/id_dsa type 2 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1 debug1: match: OpenSSH_3.5p1 pat OpenSSH* debug1: Local version string SSH-1.5-OpenSSH_3.6.1p1 debug1: Waiting for server public key. debug1: Received server public key (768 bits) and host key (1024 bits). debug1: Host 'ieng9.ucsd.edu' is known and matches the RSA1 host key. debug1: Found key in /home/plightbo/.ssh/known_hosts:3 debug1: Encryption type: blowfish debug1: Sent encrypted session key. debug1: Installing crc compensation attack detector. debug1: Received encrypted confirmation. debug1: Trying RSA authentication via agent with 'plightbo AT tecra DOT lightbody DOT net' debug1: Server refused our key. debug1: RSA authentication using agent refused. debug1: Trying RSA authentication with key '/home/plightbo/.ssh/identity' debug1: Server refused our key. debug1: Doing challenge response authentication. debug1: No challenge. debug1: Doing password authentication. plightbo AT ieng9 DOT ucsd DOT edu's password: debug1: Requesting pty. debug2: x11_get_proto: /usr/X11R6/bin/xauth list 127.0.0.1:0.0 2>/dev/null Warning: No xauth data; using fake authentication data for X11 forwarding. debug1: Requesting X11 forwarding with authentication spoofing. debug1: Requesting authentication agent forwarding. debug1: Requesting shell. debug1: Entering interactive session. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/