Alexander Skwar wrote:
> Darren Tucker wrote:

>> The "-a" option skips the pam_authenticate call which simulates what
>> happens during a public-key authentication.

> Hm. No difference between non-working and working user:
> ./pam-test-harness -a -u askwar

> Both times, I get a "Authentication failed" message. Or am I using
> the tool wrong?

You might want to use "-s sshd" to get the PAM sshd service. By default
it uses "login".

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
openssh-unix-dev mailing list