setup_2fa_with_google_authenticator_for_ssh

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
setup_2fa_with_google_authenticator_for_ssh [09.12.2025 16:30] Pascal Sutersetup_2fa_with_google_authenticator_for_ssh [09.12.2025 16:47] (current) – [ssh key authentication] Pascal Suter
Line 26: Line 26:
 make sure these options are sett as follows in your ''/etc/ssh/sshd_conf'' file:  make sure these options are sett as follows in your ''/etc/ssh/sshd_conf'' file: 
 <code> <code>
-ChallengeResponseAuthentication yes+KbdInteractiveAuthentication yes
 UsePAM yes UsePAM yes
 AuthenticationMethods publickey,password publickey,keyboard-interactive AuthenticationMethods publickey,password publickey,keyboard-interactive
  • setup_2fa_with_google_authenticator_for_ssh.txt
  • Last modified: 09.12.2025 16:47
  • by Pascal Suter