Mail Archives: cygwin/2008/01/20/00:44:50
------=_NextPart_000_000F_01C85AF1.49324AB0
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Sorry, I need to read the instructions better.
Here is the correct log with -x
-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of=
Larry Hall (Cygwin)
Sent: Saturday, January 19, 2008 10:42 PM
To: cygwin AT cygwin DOT com
Subject: Re: ssh interactive shell not working
Kyle A. Dawson wrote:
> Well, I uninstall Interix and it did fix that weird issue with remote ls,
> but still cannot login. I re-ran the cvscheck and attached.
>=20
> You mentioned you wanted the bash debug output, I thought I sent that as
> well? With this command:
> ssh -v -v -v -v -v webmadeeasy.net bash --login -i
>=20
> That is what I sent. Is there a different command to run for bash debug?
You sent the one with debugging turned on for 'ssh'. That's fine but since
it's bash where there are suspected troubles, it makes sense to turn on
debugging there too. You forgot the '-x'.
ssh -v -v -v -v -v webmadeeasy.net bash --login -i -x
--=20
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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/
------=_NextPart_000_000F_01C85AF1.49324AB0
Content-Type: text/plain;
name="login-debug.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="login-debug.txt"
$ ssh -v -v -v -v -v myhost bash --login -i -x
OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007
debug2: ssh_connect: needpriv 0
debug1: Connecting to myhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/myid/.ssh/identity type -1
debug1: identity file /home/myid/.ssh/id_rsa type -1
debug3: Not a RSA1 key file /home/myid/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/myid/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.7
debug1: match: OpenSSH_4.7 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.7
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hell=
man-g
roup-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arc=
four1
28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc AT lysator DOT liu DOT se,aes=
128-c
tr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arc=
four1
28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc AT lysator DOT liu DOT se,aes=
128-c
tr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 AT openssh DOT com,hmac-ripe=
md160
,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 AT openssh DOT com,hmac-ripe=
md160
,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib AT openssh DOT com,zlib
debug2: kex_parse_kexinit: none,zlib AT openssh DOT com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hell=
man-g
roup-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arc=
four1
28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc AT lysator DOT liu DOT se,aes=
128-c
tr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arc=
four1
28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc AT lysator DOT liu DOT se,aes=
128-c
tr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 AT openssh DOT com,hmac-ripe=
md160
,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64 AT openssh DOT com,hmac-ripe=
md160
,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib AT openssh DOT com
debug2: kex_parse_kexinit: none,zlib AT openssh DOT com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 134/256
debug2: bits set: 520/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /home/myid/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 3
debug3: check_host_in_hostfile: filename /home/myid/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 2
debug1: Host 'myhost' is known and matches the RSA host key.
debug1: Found key in /home/myid/.ssh/known_hosts:3
debug2: bits set: 532/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/myid/.ssh/identity (0x0)
debug2: key: /home/myid/.ssh/id_rsa (0x0)
debug2: key: /home/myid/.ssh/id_dsa (0x6aaaf8)
debug1: Authentications that can continue: publickey,password,keyboard-inte=
racti
ve
debug3: start over, passed a different list publickey,password,keyboard-int=
eract
ive
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/myid/.ssh/identity
debug3: no such identity: /home/myid/.ssh/identity
debug1: Trying private key: /home/myid/.ssh/id_rsa
debug3: no such identity: /home/myid/.ssh/id_rsa
debug1: Offering public key: /home/myid/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-dss blen 434
debug2: input_userauth_pk_ok: fp 6e:6b:94:1a:84:14:47:a0:70:87:ef:db:70:04:=
75:37
debug3: sign_and_send_pubkey
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug1: Sending command: bash --login -i -x
debug2: channel 0: request exec confirm 0
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 2097152
debug2: channel 0: rcvd ext data 658
+ PATH=3D'/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Program F=
iles/Su
pport Tools/:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/W=
INDOW
S/System32/Wbem:/cygdrive/c/Python25/:/cygdrive/c/perl/site/bin:/cygdrive/c=
/perl
/bin:/cygdrive/d/WebMadeEasy.net/bin:/cygdrive/c/Program Files/Windows Reso=
urce
Kits/Tools/:/cygdrive/c/Program Files/Microsoft SQL Server/80/Tools/Binn/:/=
cygdr
ive/c/Program Files/MySQL/MySQL Server 5.0/bin:/cygdrive/c/WINDOWS/system32=
/Wind
owsPowerShell/v1.0:/bin'
+ export PATH
+ MANPATH=3D/usr/local/man:/usr/share/man:/usr/man:
+ export MANPATH
+ INFOPATH=3D/usr/local/info:/usr/share/info:/usr/info:
+ export INFOPATH
debug2: channel 0: written 658 to efd 6
debug2: channel 0: rcvd ext data 10
++ id -un
debug2: channel 0: written 10 to efd 6
debug2: channel 0: rcvd ext data 86
+ USER=3Dmyid
+ export USER
+ '[' '!' -d /home/myid ']'
+ chmod 1777 /tmp
debug2: channel 0: written 86 to efd 6
debug2: channel 0: rcvd ext data 162
+ MAKE_MODE=3Dunix
+ export MAKE_MODE
+ CVS_RSH=3D/bin/ssh
+ export CVS_RSH
+ case "`echo "_$0" | /usr/bin/tr '[:upper:]' '[:lower:]' | /usr/bin/sed -e=
's/^
_//'`" in
debug2: channel 0: written 162 to efd 6
debug2: channel 0: rcvd ext data 14
++ echo _bash
debug2: channel 0: written 14 to efd 6
debug2: channel 0: rcvd ext data 67
++ /usr/bin/tr '[:upper:]' '[:lower:]'
++ /usr/bin/sed -e 's/^_//'
debug2: channel 0: written 67 to efd 6
debug2: channel 0: rcvd ext data 12
++ hostname
debug2: channel 0: written 12 to efd 6
debug2: channel 0: rcvd ext data 148
+ HOSTNAME=3Ddellsc1420a
+ export HOSTNAME
+ PS1=3D'\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
+ export PS1
+ '[' -d /etc/profile.d ']'
debug2: channel 0: written 148 to efd 6
debug2: channel 0: rcvd ext data 72
++ /bin/find -L /etc/profile.d -type f -iname '*.sh' -or -iname '*.zsh'
debug2: channel 0: written 72 to efd 6
debug2: channel 0: rcvd ext data 20
++ LC_ALL=3DC
++ sort
debug2: channel 0: written 20 to efd 6
debug2: channel 0: rcvd ext data 119
+ read f
+ '[' -f /etc/profile.d/00bash.sh ']'
+ . /etc/profile.d/00bash.sh
++ /bin/test /bin/sh.exe -ot /bin/bash.exe
debug2: channel 0: written 119 to efd 6
debug2: channel 0: rcvd ext data 392
++ return 0
+ read f
+ '[' -f /etc/profile.d/openssl.sh ']'
+ . /etc/profile.d/openssl.sh
++ export MANPATH=3D/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
++ MANPATH=3D/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
+ read f
+ '[' -f /etc/profile.d/zshell.zsh ']'
+ . /etc/profile.d/zshell.zsh
++ '[' '!' -z '' -a -z /bin/zsh ']'
+ read f
+ umask 022
+ PRINTER=3D
+ case `uname -s` in
debug2: channel 0: written 392 to efd 6
debug2: channel 0: rcvd ext data 12
++ uname -s
debug2: channel 0: written 12 to efd 6
debug2: channel 0: rcvd ext data 86
++ regtool -q get '\user\Software\Microsoft\Windows NT\CurrentVersion\Windo=
ws\De
vice'
debug2: channel 0: written 86 to efd 6
debug2: channel 0: rcvd ext data 18
++ sed 's/,.*$//'
debug2: channel 0: written 18 to efd 6
debug2: channel 0: rcvd ext data 121
+ PRINTER=3D'Microsoft XPS Document Writer'
+ export PRINTER
+ '[' '!' -z '' ']'
+ cd /home/myid
+ case `id -ng` in
debug2: channel 0: written 121 to efd 6
debug2: channel 0: rcvd ext data 10
++ id -ng
debug2: channel 0: written 10 to efd 6
debug2: channel 0: rcvd ext data 51
myid AT dellsc1420a ~
$ debug2: channel 0: written 51 to efd 6
------=_NextPart_000_000F_01C85AF1.49324AB0
Content-Type: text/plain; charset=us-ascii
--
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/
------=_NextPart_000_000F_01C85AF1.49324AB0--
- Raw text -