Install Spriv's PAM module to protect SSH, SU and SUDO authenticate once, then validate subsequent transactions continuously in the background.
sudo when unzipping the installer.See the Getting Started page.
Confirm the login user exists in Spriv's end-user list and is paired with a mobile device.
Request the "Linux Adaptive PAM/SSH zip" via Spriv's contact page.
pscp.exe Spriv-PAM-master.zip davidpino@192.169.137.155:/home/davidpino/Spriv-Pam-master.zip
unzip Spriv-Pam-master.zip
chmod +x build_system.sh
./build_system.sh
./configure
make
sudo make install
sudo cat config.log
sudo vi /etc/spriv/pam.conf
sudo vi /etc/ssh/sshd_config
sudo vi /etc/pam.d/sshd module stacking is distro-specific.
setsebool -P authlogin_yubikey 1
Restart the SSH service the command varies by distribution.
UsePAM yesChallengeResponseAuthentication yesUseDNS noPubkeyAuthentication yesPasswordAuthentication no