From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Narendra Raavi Newsgroups: gmane.os.tru64.managers Subject: SSH and Enhanced Security - again Date: Tue, 01 Feb 2005 16:02:50 -0500 Message-ID: <20050201160248.A15368@patriots.mt.att.com> Reply-To: narendra@spiff.mt.att.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1107291896 19484 80.91.229.2 (1 Feb 2005 21:04:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2005 21:04:56 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Feb 01 22:04:56 2005 Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1Cw5CJ-0000Zw-Om for gotm-tru64-unix-managers@gmane.org; Tue, 01 Feb 2005 22:04:33 +0100 Original-Received: (qmail 17168 invoked by uid 5); 1 Feb 2005 21:04:04 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17066 invoked by uid 49501); 1 Feb 2005 21:04:03 -0000 Original-Received: from narendra@patriots.mt.att.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-1.4/5.0):. Processed in 2.476266 secs); 01 Feb 2005 21:04:03 -0000 X-Spam-Status: No, hits=-1.4 required=5.0 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 1 Feb 2005 21:04:00 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IB900J273UL9W@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 01 Feb 2005 16:03:59 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IB9006083TB1J@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 01 Feb 2005 16:03:49 -0500 (EST) Original-Received: from almso1.proxy.att.com (almso1.att.com [192.128.167.69]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IB9003I53RD5B@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 01 Feb 2005 16:02:04 -0500 (EST) Original-Received: from spiff.mt.att.com ([135.91.234.31]) by almso1.proxy.att.com (AT&T IPNS/MSO-5.5) with ESMTP id j11L1ud1005971 for ; Tue, 01 Feb 2005 16:01:57 -0500 Original-Received: by spiff.mt.att.com (8.8.8p2+Sun/EMS-1.2 sol2) id QAA06783; Tue, 01 Feb 2005 16:12:26 -0500 (EST) Original-Received: from patriots.hr.att.com.patriots by spiff.mt.att.com (8.8.8p2+Sun/EMS-1.2 sol2) id QAA06779; Tue, 01 Feb 2005 16:12:25 -0500 (EST) Original-Received: by patriots.hr.att.com.patriots (SMI-8.6/EMS-1.2 sol2) id QAA15465; Tue, 01 Feb 2005 16:02:50 -0500 Original-To: tru64-unix-managers@ornl.gov Mail-followup-to: tru64-unix-managers@ornl.gov User-Agent: Mutt/1.1.1i X-Envelope-From: X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on email.cind.ornl.gov X-Spam-Level: X-MailScanner-To: gotm-tru64-unix-managers@gmane.org Xref: main.gmane.org gmane.os.tru64.managers:7982 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7982 Managers, I've looked at the archives and seen that SSH on Tru64 with Enhanced Security is possible. However, I am unable to make SSH work on systems with Enhanced Security. I would appreciate any insight into what is wrong. Here are some details: Tru64 UNIX V4.0F PK#7 OpenSSH v3.9p1, OpenSSL 0.9.7e, zlib 1.2.2, prngd 0.9.29 SSH is compiled statically. Output of ssh and sshd is below: =====ssh -vvv adamite -l narendra =================== $ ssh -vvv adamite -l narendra OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004 debug1: Reading configuration data /opt/ssh/etc/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to adamite [135.191.71.24] port 22. debug1: Connection established. debug1: identity file /usr/users2/narendra/.ssh/identity type -1 debug1: identity file /usr/users2/narendra/.ssh/id_rsa type -1 debug1: identity file /usr/users2/narendra/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.8p1 debug1: match: OpenSSH_3.8p1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.8p1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: diffie-hellman-group-exchange-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,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: none,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-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,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_init: found hmac-md5 debug1: kex: server->client aes128-cbc hmac-md5 none debug2: mac_init: 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: 129/256 debug2: bits set: 525/1024 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug3: check_host_in_hostfile: filename /usr/users2/narendra/.ssh/known_hosts debug3: check_host_in_hostfile: match line 3 debug3: check_host_in_hostfile: filename /usr/users2/narendra/.ssh/known_hosts debug3: check_host_in_hostfile: match line 3 debug1: Host 'adamite' is known and matches the RSA host key. debug1: Found key in /usr/users2/narendra/.ssh/known_hosts:3 debug2: bits set: 497/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: /usr/users2/narendra/.ssh/identity (0) debug2: key: /usr/users2/narendra/.ssh/id_rsa (0) debug2: key: /usr/users2/narendra/.ssh/id_dsa (0) debug1: Authentications that can continue: publickey,password,keyboard-interactive debug3: start over, passed a different list publickey,password,keyboard-interactive 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: /usr/users2/narendra/.ssh/identity debug3: no such identity: /usr/users2/narendra/.ssh/identity debug1: Trying private key: /usr/users2/narendra/.ssh/id_rsa debug3: no such identity: /usr/users2/narendra/.ssh/id_rsa debug1: Trying private key: /usr/users2/narendra/.ssh/id_dsa debug3: no such identity: /usr/users2/narendra/.ssh/id_dsa debug2: we did not send a packet, disable method debug3: authmethod_lookup keyboard-interactive debug3: remaining preferred: password debug3: authmethod_is_enabled keyboard-interactive debug1: Next authentication method: keyboard-interactive debug2: userauth_kbdint debug2: we sent a keyboard-interactive packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug3: userauth_kbdint: disable: no info_req_seen debug2: we did not send a packet, disable method debug3: authmethod_lookup password debug3: remaining preferred: debug3: authmethod_is_enabled password debug1: Next authentication method: password narendra@adamite's password: debug3: packet_send2: adding 48 (len 62 padlen 18 extra_pad 64) debug2: we sent a password packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive Permission denied, please try again. narendra@adamite's password: =====ssh -vvv adamite -l narendra =================== =====sshd -ddd ========================================== Feb 1 08:22:57 adamite sshd[13174]: debug3: recv_rexec_state: entering fd = 5 Feb 1 08:22:57 adamite sshd[13174]: debug3: ssh_msg_recv entering Feb 1 08:22:57 adamite sshd[13174]: debug3: recv_rexec_state: done Feb 1 08:22:57 adamite sshd[13174]: debug2: parse_server_config: config rexec len 173 Feb 1 08:22:57 adamite sshd[13174]: debug1: sshd version OpenSSH_3.9p1 Feb 1 08:22:57 adamite sshd[13174]: debug1: private host key: #0 type 0 RSA1 Feb 1 08:22:57 adamite sshd[13174]: debug3: Not a RSA1 key file /opt/ssh/etc/ssh_host_rsa_key. Feb 1 08:22:57 adamite sshd[13174]: debug1: read PEM private key done: type RSA Feb 1 08:22:57 adamite sshd[13174]: debug1: private host key: #1 type 1 RSA Feb 1 08:22:57 adamite sshd[13174]: debug3: Not a RSA1 key file /opt/ssh/etc/ssh_host_dsa_key. Feb 1 08:22:57 adamite sshd[13174]: debug1: read PEM private key done: type DSA Feb 1 08:22:57 adamite sshd[13174]: debug1: private host key: #2 type 2 DSA Feb 1 08:22:57 adamite sshd[13174]: debug1: inetd sockets after dupping: 3, 3 Feb 1 08:22:57 adamite sshd[13174]: Connection from 135.191.71.23 port 1649 Feb 1 08:22:57 adamite sshd[13174]: debug1: Client protocol version 2.0; client software version OpenSSH_3.8p1 Feb 1 08:22:57 adamite sshd[13174]: debug1: match: OpenSSH_3.8p1 pat OpenSSH* Feb 1 08:22:57 adamite sshd[13174]: debug1: Enabling compatibility mode for protocol 2.0 Feb 1 08:22:57 adamite sshd[13174]: debug1: Local version string SSH-1.99-OpenSSH_3.9p1 Feb 1 08:22:57 adamite sshd[13174]: debug2: fd 3 setting O_NONBLOCK Feb 1 08:22:57 adamite sshd[13174]: debug1: list_hostkey_types: ssh-rsa,ssh-dss Feb 1 08:22:57 adamite sshd[13174]: debug1: SSH2_MSG_KEXINIT sent Feb 1 08:22:57 adamite sshd[13174]: debug1: SSH2_MSG_KEXINIT received Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: ssh-rsa,ssh-dss Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: none,zlib Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: none,zlib Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: first_kex_follows 0 Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: reserved 0 Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: ssh-rsa,ssh-dss Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: none,zlib Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: none,zlib Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: first_kex_follows 0 Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_parse_kexinit: reserved 0 Feb 1 08:22:57 adamite sshd[13174]: debug2: mac_init: found hmac-md5 Feb 1 08:22:57 adamite sshd[13174]: debug1: kex: client->server aes128-cbc hmac-md5 none Feb 1 08:22:57 adamite sshd[13174]: debug2: mac_init: found hmac-md5 Feb 1 08:22:57 adamite sshd[13174]: debug1: kex: server->client aes128-cbc hmac-md5 none Feb 1 08:22:57 adamite sshd[13174]: debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received Feb 1 08:22:57 adamite sshd[13174]: debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent Feb 1 08:22:57 adamite sshd[13174]: debug2: dh_gen_key: priv key bits set: 133/256 Feb 1 08:22:57 adamite sshd[13174]: debug2: bits set: 498/1024 Feb 1 08:22:57 adamite sshd[13174]: debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT Feb 1 08:22:57 adamite sshd[13174]: debug2: bits set: 507/1024 Feb 1 08:22:57 adamite sshd[13174]: debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent Feb 1 08:22:57 adamite sshd[13174]: debug2: kex_derive_keys Feb 1 08:22:57 adamite sshd[13174]: debug2: set_newkeys: mode 1 Feb 1 08:22:57 adamite sshd[13174]: debug1: SSH2_MSG_NEWKEYS sent Feb 1 08:22:57 adamite sshd[13174]: debug1: expecting SSH2_MSG_NEWKEYS Feb 1 08:23:03 adamite sshd[13174]: debug2: set_newkeys: mode 0 Feb 1 08:23:03 adamite sshd[13174]: debug1: SSH2_MSG_NEWKEYS received Feb 1 08:23:03 adamite sshd[13174]: debug1: KEX done Feb 1 08:23:03 adamite sshd[13174]: debug1: userauth-request for user narendra service ssh-connection method none Feb 1 08:23:03 adamite sshd[13174]: debug1: attempt 0 failures 0 Feb 1 08:23:03 adamite sshd[13174]: debug2: input_userauth_request: setting up authctxt for narendra Feb 1 08:23:03 adamite sshd[13174]: debug2: input_userauth_request: try method none Feb 1 08:23:03 adamite sshd[13174]: Failed none for narendra from 135.191.71.23 port 1649 ssh2 Feb 1 08:23:03 adamite sshd[13174]: debug1: userauth-request for user narendra service ssh-connection method keyboard-interactive Feb 1 08:23:03 adamite sshd[13174]: debug1: attempt 1 failures 1 Feb 1 08:23:03 adamite sshd[13174]: debug2: input_userauth_request: try method keyboard-interactive Feb 1 08:23:03 adamite sshd[13174]: debug1: keyboard-interactive devs Feb 1 08:23:03 adamite sshd[13174]: debug1: auth2_challenge: user=narendra devs= Feb 1 08:23:03 adamite sshd[13174]: debug1: kbdint_alloc: devices '' Feb 1 08:23:03 adamite sshd[13174]: debug2: auth2_challenge_start: devices Feb 1 08:23:03 adamite sshd[13174]: Failed keyboard-interactive for narendra from 135.191.71.23 port 1649 ssh2 Feb 1 08:23:10 adamite sshd[13174]: debug1: userauth-request for user narendra service ssh-connection method password Feb 1 08:23:10 adamite sshd[13174]: debug1: attempt 2 failures 2 Feb 1 08:23:10 adamite sshd[13174]: debug2: input_userauth_request: try method password Feb 1 08:23:10 adamite sshd[13174]: debug3: Trying to reverse map address 135.191.71.23. Feb 1 08:23:10 adamite sshd[13174]: error: Couldn't authenticate narendra from alexandrite Feb 1 08:23:10 adamite sshd[13174]: Failed password for narendra from 135.191.71.23 port 1649 ssh2 Feb 1 08:23:16 adamite sshd[13174]: debug1: userauth-request for user narendra service ssh-connection method password Feb 1 08:23:16 adamite sshd[13174]: debug1: attempt 3 failures 3 Feb 1 08:23:16 adamite sshd[13174]: debug2: input_userauth_request: try method password Feb 1 08:23:16 adamite sshd[13174]: error: Couldn't authenticate narendra from alexandrite Feb 1 08:23:16 adamite sshd[13174]: Failed password for narendra from 135.191.71.23 port 1649 ssh2 Feb 1 08:24:16 adamite sshd[13174]: Connection closed by 135.191.71.23 Feb 1 08:24:16 adamite sshd[13174]: debug1: do_cleanup =====sshd -ddd ========================================== -- -- Narendra Ra[a]vi Email : narendra@spiff.mt.att.com MT A4-4B27 Phone : 732-420-7792