Archive for Февраль, 2019

ssh public key and google authenticator

Posted: 4th Февраль 2019 by shmyak in Пингвин
Комментарии к записи ssh public key and google authenticator отключены

/etc/ssh/sshd_config ChallengeResponseAuthentication yes UsePAM yes AuthenticationMethods publickey,keyboard-interactive:pam PasswordAuthentication no /etc/pam.d/sshd #@include common-auth auth required /usr/local/lib/security/pam_google_authenticator.so