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

Tomas Mraz tmraz at redhat.com
Mon Dec 4 09:45:07 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


-- 
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
                                              Turkish proverb




More information about the Pam-list mailing list