From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris.Bryant@DTAG.Com Newsgroups: gmane.os.tru64.managers Subject: Publickey authentication with ssh Date: Mon, 24 Nov 2003 14:00:32 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1069704089 7486 80.91.224.253 (24 Nov 2003 20:01:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2003 20:01:29 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Nov 24 21:01:26 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AOMth-0002he-00 for ; Mon, 24 Nov 2003 21:01:25 +0100 Original-Received: (qmail 16982 invoked by uid 5); 24 Nov 2003 20:01:11 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16967 invoked by uid 49493); 24 Nov 2003 20:01:10 -0000 Original-Received: from Chris.Bryant@DTAG.Com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-3.6/5.0):. Processed in 0.834158 secs); 24 Nov 2003 20:01:10 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 24 Nov 2003 20:01:09 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HOV00KU0GXWRD@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 24 Nov 2003 15:01:09 -0500 (EST) Original-Received: from tfyfw.thrifty.com ([65.64.34.2]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HOV00IBFGX8E5@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 24 Nov 2003 15:00:45 -0500 (EST) Original-Received: by tfyfw.thrifty.com; id OAA07375; Mon, 24 Nov 2003 14:04:54 -0600 (CST) Original-Received: from dtagimc.dtg.local(172.23.116.35) by tfyfw.thrifty.com via csmap (V1.5) id srcBAA0ECdsv; Mon, 24 Nov 2003 14:04:54 -0600 Original-Received: by dtagimc.dtg.local with Internet Mail Service (5.5.2656.59) id ; Mon, 24 Nov 2003 14:00:10 -0600 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Internet Mail Service (5.5.2656.59) Xref: main.gmane.org gmane.os.tru64.managers:5899 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5899 Admins, I am running tru64 5.1B and I am trying to setup publickey authentication with secure shell. In my /etc/ssh2/ssh2_config file I have AllowedAuthenication publickey,password and in /etc/ssh2/sshd_config file I have AllowedAuthenication publickey,password. Below is my output from ssh -v hostname. I get publickey disabled. Any Idea as to what could be causing this? TIA, Chris Bryant Unix Administrator Dollar Thrifty Automotive Group Script started on Mon Nov 24 13:55:21 2003 $ ssh -v country debug: SshAppCommon/sshappcommon.c:185: Allocating global SshRegex context. debug: SshConfig/sshconfig.c:2786: Version not found on first line, assuming configuration to be old style. debug: SshConfig/sshconfig.c:640: Setting variable 'VerboseMode' to 'FALSE'. debug: SshConfig/sshconfig.c:2728: Unable to open /usr/users/cbryant/.ssh2/ssh2_config debug: Connecting to country, port 22... (SOCKS not used) debug: Ssh2/ssh2.c:2332: Entering event loop. debug: Ssh2Client/sshclient.c:1452: Creating transport protocol. debug: SshAuthMethodClient/sshauthmethodc.c:95: Added "publickey" to usable methods. debug: SshAuthMethodClient/sshauthmethodc.c:95: Added "password" to usable methods. debug: Ssh2Client/sshclient.c:1493: Creating userauth protocol. debug: client supports 2 auth methods: 'publickey,password' debug: SshUnixTcp/sshunixtcp.c:1227: using local hostname town debug: Ssh2Common/sshcommon.c:541: local ip = 158.146.77.17, local port = 4558 debug: Ssh2Common/sshcommon.c:543: remote ip = 158.146.77.18, remote port = 22 debug: SshConnection/sshconn.c:1957: Wrapping... debug: SshReadLine/sshreadline.c:3388: Initializing ReadLine... debug: Remote version: SSH-2.0-3.2.0 SSH Secure Shell Tru64 UNIX debug: Major: 3 Minor: 2 Revision: 0 debug: Ssh2Transport/trcommon.c:1913: lang s to c: `', lang c to s: `' debug: Ssh2Transport/trcommon.c:1978: c_to_s: cipher aes128-cbc, mac hmac-sha1, compression none debug: Ssh2Transport/trcommon.c:1981: s_to_c: cipher aes128-cbc, mac hmac-sha1, compression none debug: Remote host key found from database. debug: Ssh2Common/sshcommon.c:342: Received SSH_CROSS_STARTUP packet from connection protocol. debug: Ssh2Common/sshcommon.c:392: Received SSH_CROSS_ALGORITHMS packet from connection protocol. debug: server offers auth methods 'publickey,password'. debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1602: adding keyfile "/usr/users/cbryant/.ssh2/id_dsa_1024_a" to candidates debug: server offers auth methods 'publickey,password'. debug: Ssh2AuthClient/sshauthc.c:330: Method 'publickey' disabled. debug: server offers auth methods 'publickey,password'. debug: Ssh2AuthPasswdClient/authc-passwd.c:117: Starting password query... cbryant's password: debug: Ssh2Common/sshcommon.c:310: Received SSH_CROSS_AUTHENTICATED packet from connection protocol. debug: SshReadLine/sshreadline.c:3454: Uninitializing ReadLine... Authentication successful. debug: Ssh2Common/sshcommon.c:852: num_channels now 1 warning: Cannot connect to DISPLAY; X11 forwarding disabled. Last successful login for cbryant: Mon Nov 24 12:41:37 CST 2003 from town Last unsuccessful login for cbryant: NEVER Your password will expire on Sat Nov 29 08:15:49 CST 2003 Compaq Tru64 UNIX V5.1B (Rev. 2650); Tue Aug 12 05:56:24 CDT 2003 No mail. country> exit debug: Ssh2ChannelSession/sshchsession.c:1935: received exit status : 0 debug: Ssh2Common/sshcommon.c:819: num_channels now 0 debug: Got session close with exit_status=0 debug: destroying client struct... debug: Ssh2Client/sshclient.c:1528: Destroying client. debug: SshConfig/sshconfig.c:2330: Freeing pki. (host_pki != NULL, user_pki = NULL) debug: SshConnection/sshconn.c:2009: Destroying SshConn object. Connection to country closed. debug: Ssh2Client/sshclient.c:1596: Destroying client completed. debug: SshAuthMethodClient/sshauthmethodc.c:100: Destroying authentication method array. debug: SshAppCommon/sshappcommon.c:198: Freeing global SshRegex context. debug: SshConfig/sshconfig.c:2330: Freeing pki. (host_pki = NULL, user_pki = NULL) $ exit script done on Mon Nov 24 13:55:34 2003