tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Exchange HP SSH public key with an OpenSSH Server
@ 2003-05-13  2:42 Zoong PHAM
  2003-05-13  4:08 ` SUMMARY: " Zoong PHAM
  0 siblings, 1 reply; 2+ messages in thread
From: Zoong PHAM @ 2003-05-13  2:42 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-13  4:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-13  2:42 Exchange HP SSH public key with an OpenSSH Server Zoong PHAM
2003-05-13  4:08 ` SUMMARY: " Zoong PHAM

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox