From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Zoong PHAM Newsgroups: gmane.os.tru64.managers Subject: Exchange HP SSH public key with an OpenSSH Server Date: Tue, 13 May 2003 12:42:39 +1000 Organization: IT & T Department - Mercy Health and Aged Care Inc. Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20030513024239.GF24448@snowdon.mercy.com.au> Reply-To: zpham@mercy.com.au NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052793755 11138 80.91.224.249 (13 May 2003 02:42:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 13 May 2003 02:42:35 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue May 13 04:42:32 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19FPjh-0002rl-00 for ; Tue, 13 May 2003 04:41:49 +0200 Original-Received: (qmail 20913 invoked by uid 5); 13 May 2003 02:43:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20904 invoked by uid 49493); 13 May 2003 02:43:06 -0000 Original-Received: from phamd@mercy.com.au by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-10.0/5.0):. Processed in 0.455933 secs); 13 May 2003 02:43:06 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 13 May 2003 02:43:05 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HET003Z10VSC1@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 May 2003 22:43:05 -0400 (EDT) Original-Received: from websvr01.mercy.com.au ([210.9.192.246]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HET00AI30V5Q6@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 May 2003 22:42:49 -0400 (EDT) Original-Received: from snowdon.mercy.com.au (snowdon.mercy.com.au [172.27.138.231]) by websvr01.mercy.com.au (8.10.2+Sun/8.10.2) with ESMTP id h4D2wxh19385 for ; Tue, 13 May 2003 12:58:59 +1000 (EST) Original-Received: (from phamd@localhost) by snowdon.mercy.com.au (8.11.6+Sun/8.11.6) id h4D2gdX25078 for tru64-unix-managers@ornl.gov; Tue, 13 May 2003 12:42:39 +1000 (EST) X-Sender: zpham@mercy.com.au Original-To: tru64-unix-managers@ornl.gov Content-Disposition: inline User-Agent: Mutt/1.4i Fax: +61-9-84167730 Mobile: +61-408036911 WWW: http://www.mercy.com.au PGP: public key is available on request Phone: +61-9-84167747 Xref: main.gmane.org gmane.os.tru64.managers:4207 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4207 Hi all, I have problem with exchanging public key from a HP SSH sever to a OpenSSH server: System details: - TruCluster V5.1 (PK5) on 2 GS 60. HP SSH V3.2.0 - OpenBSD 3.3 with OpenSSH_3.6, SSH protocols 1.5/2.0, OpenSSL 0x00907003) on Intel Pentium Here are what I did: - I created a public key on a TruCluster node: ssh-keygen2 -t RSA - Copied the public key ~username/.ssh2/id_rsa_2048_a.pub to the username@openbsd:~/.ssh/authorized_keys_temp - On the OpenBSD, import the public key generated on the TruCluster node into the OpenSSH format (followed the guide from http://h30097.www3.hp.com/docs/ssh/ssh32/INSTADMN/CHPMNGTR.HTM#anch_0068) ssh-keygen -if ~/.ssh/authorized_keys_temp > ~/.ssh/authorized_keys - on the TruCluster node when I ran ssh -l username openbsd I was still prompted for a password. If if entered the password, of course, I could log in I thought with what I did above, I should not be prompted for a password. Does anyone know why? I also tried on a TruCluster 5.1A cluster and a stand-alone Tru64 5.1 box and they all behave the same: prompt for a password. I turned on the debugging and here is the info: alphabox> ssh -d 1 -l phamd openbsdbox debug: SshConfig/sshconfig.c:2728: Unable to open /home/itdept/phamd/.ssh2/ssh2_config debug: Connecting to openbsdbox, port 22... (SOCKS not used) debug: client supports 3 auth methods: 'hostbased,publickey,password' debug: SshUnixTcp/sshunixtcp.c:1227: using local hostname alphabox.mercy.com.au debug: Ssh2Common/sshcommon.c:541: local ip = 172.27.140.25, local port = 2572 debug: Ssh2Common/sshcommon.c:543: remote ip = 172.27.138.92, remote port = 22 debug: Remote version: SSH-1.99-OpenSSH_3.6 debug: OpenSSH: Major: 3 Minor: 6 Revision: 0 debug: Remote host key found from database. debug: server offers auth methods 'publickey,password,keyboard-interactive'. debug: SshConfig/sshconfig.c:2728: Unable to open /home/itdept/phamd/.ssh2/identification debug: server offers auth methods 'publickey,password,keyboard-interactive'. phamd's password: Any help would be very appreciated. Cheers, -- Zoong PHAM UNIX Systems Administrator Mercy Health and Aged Care Inc. Melbourne - Australia zpham@mercy.com.au +61 - 3 - 84167747 PGP public key is available on request