I gang

PAM SSHD run external script before dropping to SSH shell

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. :-)

Færdigheder: Linux, System Administrator, UNIX

Se mere: pam ssh custom token, run custom shell script , pam shell script, pam module script shell, ssh run script shell, pam sshd external, sshd, run custom shell script run script, sshd pam shell, shell script ssh, pam external script, run script ssh, run external script ssh, sshd pam script, pam run script, in linux shell script, write a python script, ssh, run, access token script, run script linux, python log script, ssh python, write linux script, ssh help

Om arbejdsgiveren:
( 15 bedømmelser ) Willington, United States

Projekt-ID: #981054

Tildelt til:

gasparch

Please see PM

$49 USD in 2 dage
(29 bedømmelser)
5.2

6 freelancere byder i gennemsnit $185 for dette job

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 Mere

$450 USD in 7 dage
(1 bedømmelse)
2.4
yavor82

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

$250 USD in 7 dage
(4 bedømmelser)
2.3
linuxfreak

please check your PM Box

$60 USD på 1 dag
(3 bedømmelser)
1.9
umeshpurohit

please check PPM

$100 USD in 5 dage
(0 bedømmelser)
0.0
sysadmdhruvil

I am a linux system administrator expert in scripting

$200 USD in 7 dage
(0 bedømmelser)
0.0