Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


2_factor_ssh_authentication_with_google_authenticator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
2_factor_ssh_authentication_with_google_authenticator [2014/05/07 22:14] – [Configure Google Authenticator for user] admin2_factor_ssh_authentication_with_google_authenticator [2014/05/08 08:00] – [Configure SSHd] admin
Line 13: Line 13:
  
 ====Configure SSHd==== ====Configure SSHd====
-  vi /etc/ssh/sshd_config+<code>vi /etc/ssh/sshd_config
  
-  PubkeyAuthentication no +PubkeyAuthentication no 
-  PasswordAuthentication yes +PasswordAuthentication yes 
-  ChallengeResponseAuthentication yes +ChallengeResponseAuthentication yes 
-  UsePAM yes +UsePAM yes 
  
 +# GSSAPI options
 +GSSAPIAuthentication no
 +GSSAPICleanupCredentials yes
 +#GSSAPIStrictAcceptorCheck yes
 +#GSSAPIKeyExchange no</code>
 ====Configure PAM SSHd==== ====Configure PAM SSHd====
   vi /etc/pam.d/sshd   vi /etc/pam.d/sshd
2_factor_ssh_authentication_with_google_authenticator.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1