$ 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-hellman-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,arcfour1 28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-c tr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour1 28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-c tr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 ,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 ,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib debug2: kex_parse_kexinit: none,zlib@openssh.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-hellman-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,arcfour1 28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-c tr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour1 28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-c tr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 ,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 ,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib@openssh.com debug2: kex_parse_kexinit: none,zlib@openssh.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-interacti ve debug3: start over, passed a different list publickey,password,keyboard-interact 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='/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Program Files/Su pport Tools/:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOW 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 Resource 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=/usr/local/man:/usr/share/man:/usr/man: + export MANPATH + INFOPATH=/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=myid + 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=unix + export MAKE_MODE + CVS_RSH=/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=dellsc1420a + export HOSTNAME + PS1='\[\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=C ++ 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=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man ++ MANPATH=/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= + 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\Windows\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='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@dellsc1420a ~ $ debug2: channel 0: written 51 to efd 6