Subject: Re: S/Key one-time passwords not working
To: None <netbsd-help@netbsd.org>
From: Dominik Bialy <dmb@yenn.underlegend.net>
List: netbsd-help
Date: 12/24/2007 15:38:19
Hi,

Dnia 24.12.2007 Thomas Brockman <thomasbrockman@yahoo.com> napisał/a:
> I'm attempting to set up S/Key one-time passwords, but it does not seem to work. I have run skeyinit as described in the manpage, and generated a list of one-time passwords with skey. Alas, upon attempting login via SSH, the S/Key password is not requested and only using the standard password results in a successful authentication. I'm running NetBSD 3.0 with GENERIC kernel. Any help would be appreciated.

AFAIR with NetBSD 3.0 onwards you need to set up files in /etc/pam.d for
S/Key to work. You need to add entries for pam_skey.so in file ``sshd''
for SSH to work. My entry looks like this:

auth         sufficient      pam_skey.so

>
> Thomas Brockman
>
HTH
	Dominik Bialy