0

I have a linux machine running OpenSSH Server 4.3. How can I configure it to use keyboard-interactive authentication - define prompts and responses and so on.

Please be specific, as I am pretty new in this.

Edit:

After some googling it appears that PAM (Pluggable authentication module) has to be involved with the process. Now I need to find out what module should be configured there. Any ideas?

2 Answers 2

1

Depending on what you are actually trying to accomplish, you will have to look into PasswordAuthentication and/or ChallengeResponseAuthentication, and write your own PAM module. Install and configure e.g. pam_opie to get an idea of how it works.

0

It mostly depends on your gnu/linux distro, but to start, be sure to write this into /etc/ssh/sshd_config.

PasswordAuthentication yes
2
  • Yes, but how do I configure the prompts are responses, what if i want to ask something else besides the password?
    – Vic
    Jan 31, 2012 at 11:56
  • AFAIK "password-interactive" means that you are required to type the password, you can't give it as a parameter (without fooling ssh).
    – drcelus
    Jan 31, 2012 at 14:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .