有谁知道如何配置连接到 Freeipa 的主机,以便 2FA 通过 SSH PubKey + OTP,而不是通过密码 + OTP?
我的 sshd_config 包括:
UsePAM yes
ChallengeResponseAuthentication yes
AuthenticationMethods publickey,keyboard-interactive:pam
有谁知道如何配置连接到 Freeipa 的主机,以便 2FA 通过 SSH PubKey + OTP,而不是通过密码 + OTP?
我的 sshd_config 包括:
UsePAM yes
ChallengeResponseAuthentication yes
AuthenticationMethods publickey,keyboard-interactive:pam