After installing OpenSSH 4.5p1 we discovered that public key authentication seems to be broken on OpenSSH 4.5p1 on HP-UX 11.11 See attached typescript file, where 2 different binaries are used, first is old 3.8p1 ssh client (which works) and second is new 4.5p1 ssh client (which isn't working) but trying to login from the same host (hostA) to the same remote host (hostB) For both versions you can see the "SSH2_MSG_SERVICE_ACCEPT received" debug message from ssh_userauth2(), but only the 3.8p1 version will show the debug message "debug2("key: %s (%p)", id->filename, id->key)" from pubkey_prepare(). I've tried this both with an identyFile directive (as shown in example) as well as just having the id_dsa file being discovered from $HOME/.ssh/id_dsa and there's no difference, it still only works with the 3.8p1 client but not the 4.5p1 client. I've tried it against both a 4.5p1 sshd server and a 3.8p1 server, but same result, hence it looks like the problem seems to be in the client itself (or possibly a side effect from a different version of OpenSSL for the different versions)
Created attachment 1221 [details] typescript log showing the problem
Created attachment 1222 [details] $HOME/.ssh/config
Did you happen to configure OpenSSL with "hpux-parisc2-cc" when you built it? If so then see the the URL below and try rebuilding OpenSSL with "hpux-parisc-cc" instead, then rebuilding OpenSSH. I'm not sure that this is the cause but it's worth a try. http://www.aet.tu-cottbus.de/rt2/Ticket/Display.html?id=1395
Without answers to the questions or test of the suggestions then unfortunately there's not much we can do to help you. Please reopen this bug if you have any additional information. BTW the OpenSSL request tracker has moved, the new URL is http://rt.openssl.org/index.html?q=1395 which has been marked as "Resolved" although I'm not sure which OpenSSL versions that applies to.
Close resolved bugs after release.