Why doesn't pam_prompt() function work with ssh? (Problem solved)

federikkom federikkom at yahoo.com.ar
Tue Dec 5 17:02:36 UTC 2006


> On Mon, 2006-12-04 at 03:27 +0000, federikkom wrote:
> > Hi,
> > 
> > I'm developing an authentication service module for
> PAM.
> > This module sends a token to a mobile to authenticate a
> > user.
> > 
> > The module prompts "Token:" and expects the user to
> enter
> > the token sended. If the token is valid, the user is
> > authenticated. The token expires after some seconds.
> > 
> > With login and su application it works fine, but with
> ssh
> > it doesn't work. However, ssh is compiled and
> configured
> > with PAM.
> > 
> Do you have the following in /etc/ssh/sshd_config?
> 
> ChallengeResponseAuthentication yes

The problem with ssh was that
ChallengeResponseAuthentication had the value "no" in my
sshd_config file.

Thanks Tomas.

--
Federico

--
Federico

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar




More information about the Pam-list mailing list