Re: S/Key one-time passwords not working

Dominik Bialy <[email protected]> Mon, 24 Dec 2007 15:38:19 +0100
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
Hi,

Dnia 24.12.2007 Thomas Brockman <[email protected]> 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