PAM SSHD run external script before dropping to SSH shell

Completado Publicado Mar 11, 2011 Pagado a la entrega
Completado Pagado a la entrega

I'm looking for a way to prompt a user to enter a secret token when logging in via SSH. Yes, I know they have to enter a username/password already, but I want them to enter an additional secret token.

I've heard that it's possible to make either PAM or SSHD run a script first, and the script can then drop you to shell when it's done. This would be ideal- we could make it drop you to a Python or PHP script, prompt for the token there, and then if the token is entered correctly, drop you to the shell. If you have a better suggestion for how to do it (custom PAM module?), I'm open to suggestions.

All I want you to do is configure this on a dev machine I'll give you access to. You don't have to write the script, you just have to configure whatever so that the script runs when you try to log in via SSH.

It *must be secure*. It doesn't help me if there's a way to bypass the script. :-)

Linux Administración de sistemas UNIX

Nº del proyecto: #981054

Sobre el proyecto

6 propuestas Proyecto remoto Activo Mar 16, 2011

Adjudicado a:

gasparch

Please see PM

$49 USD en 2 días
(29 comentarios)
5.2

6 freelancers están ofertando un promedio de $185 por este trabajo

xsandro

Hello, I'm a Linux expert with 13+ years of experience and I co-develop in the past an OTP (One Time Passwords) solution to SSH. Basically the OTP works like a hardware token, so the user needs to type a random text Más

$450 USD en 7 días
(1 comentario)
2.4
yavor82

Hi, interesting project. Please check your PMB. Thanks.

$250 USD en 7 días
(4 comentarios)
2.3
linuxfreak

please check your PM Box

$60 USD en 1 día
(3 comentarios)
1.9
umeshpurohit

please check PPM

$100 USD en 5 días
(0 comentarios)
0.0
sysadmdhruvil

I am a linux system administrator expert in scripting

$200 USD en 7 días
(0 comentarios)
0.0