Hi all, I try to login from a Linux Box with ssh-1.2.27 to an HP-UX Server with openssh-2.3.0p1 using PAM. After a couple of login the HP-UX disables my account with the error message: Too many unsuccesful logins. It seems to me - and the logfile says it too - that the first attemt to authenticate myself via Password fails and the second attempt via rsa-key works. Now the counter of unsuccesful logins is added by one and after 5 logins I am disabled. I use the ssh-agent technology with rsa-keys. The required PAM-Patch is installed. What shell I do? Jan 15 10:39:46 pns sshd[12272]: pam_authenticate: error Authentication failedJan 15 10:39:46 pns sshd[12272]: debug1: PAM Password authentication for "hendl" failed[9]: Authentication failedJan 15 10:39:46 pns sshd[12272]: Accepted rsa for hendl from 194.76.232.130 port 2571Jan 15 10:39:46 pns sshd[12272]: debug1: PAM setting rhost to "www1.brandenburg.de" The second problem is that at the end of a session some PAM related file could not be deleted. See logfile below. Jan 15 10:52:24 pns sshd[10218]: debug1: tvp!=NULL kid 0 mili 10Jan 15 10:52:24 pns sshd[10218]: debug1: tvp!=NULL kid 0 mili 10Jan 15 10:52:27 pns sshd[10218]: debug1: tvp!=NULL kid 0 mili 10Jan 15 10:52:32 pns sshd[13016]: debug1: EOF received for stdin.Jan 15 10:52:27 pns sshd[10218]: debug1: tvp!=NULL kid 0 mili 10Jan 15 10:52:32 pns sshd[13016]: Connection closed by remote host.Jan 15 10:52:32 pns sshd[13016]: debug1: Calling cleanup 0x40005e12(0x4000be40)Jan 15 10:52:32 pns sshd[13016]: debug1: pty_cleanup_proc: /dev/pts/3Jan 15 10:52:32 pns sshd[13016]: debug1: Calling cleanup 0x40005d6a(0x0)Jan 15 10:52:32 pns sshd[13016]: pam_setcred: error Permission deniedJan 15 10:52:32 pns sshd[13016]: debug1: Cannot delete credentials[7]: Permission deniedJan 15 10:52:32 pns sshd[13016]: debug1: Calling cleanup 0x40005ffa(0x0)Jan 15 10:52:32 pns sshd[13016]: debug1: Calling cleanup 0x40006002(0x0)Jan 15 10:52:32 pns sshd[13016]: debug1: writing PRNG seed to file //.ssh/prng_seed Thanks for help! Stephan
On Mon, 15 Jan 2001, Stephan Hendl wrote: : I try to login from a Linux Box with ssh-1.2.27 to an HP-UX Server : with openssh-2.3.0p1 using PAM. After a couple of login the HP-UX : disables my account with the error message: Too many unsuccesful : logins. It seems to me - and the logfile says it too - that the : first attemt to authenticate myself via Password fails and the : second attempt via rsa-key works. Now the counter of unsuccesful : logins is added by one and after 5 logins I am disabled. : : I use the ssh-agent technology with rsa-keys. The required PAM-Patch : is installed. What shell I do? the logs indicate it tries password auth, then rsa. i'm not sure how to get the client to do that, with proto 1 at least. : The second problem is that at the end of a session some PAM related : file could not be deleted. See logfile below. that can be ignored. we might look into suppressing it.