Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.
Erik Berdonces Bonelo edited this page Jan 14, 2016 · 1 revision

Steps to integrate the script:

  • Install python-pip, python-dev and libpythonpam
  • Put the python files in /lib/security
  • Update /etc/pam.d/sshd (no need to restart anything) with the new PAM config (just change 2 lines)
  • Update /etc/ssh/sshd_config (restart with service ssh restart)
  • UsePrivilegeSeparation yes
  • PubkeyAuthentication yes
  • ChallengeResponseAuthentication yes
  • PasswordAuthentication no
  • UsePAM yes
  • Profit

Follow https://www.digitalocean.com/community/tutorials/install-and-use-otpw and https://github.com/tomoconnor/pam_python_crowd

Clone this wiki locally