Do you have a question? Post it now! No Registration Necessary. Now with pictures!
January 10, 2011, 3:59 am
rate this thread
I'm writing a Plug-gable authentication module for ssh. I am looking
for prompting for some extra information after user name and password
verification but before giving access to user. Can anyone suggest how
should I do this.Actually after SSH I want to extend the same for some
other services. So I am looking at some PAM module level suggestion.
I tried using conversation method with message style=PAM_PROMPT_ECO_ON
but it results in PAM_CONV_ERR and conversation fails. Is it right way
to interact or please suggest me If I'm doing wrong somewhere. When I
use message style=PAM_PROMPT_ECO_OFF communication succeeds but
message is not shown and interaction doesn't happen.
I've pased the sample code I've written at http://pastebin.com/47bC0Up4 ,
please suggest me what could be wrong.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum