Ubuntu 20.04 开启 Google Authenticator 二步验证(保护 SSH 登录) 1. 安装 Google Authenticator PAM 模块 sudo apt update sudo apt install libpam-google-authenticator 2. 配置每个用户的密钥(绑定手机) 执行以下命令: google-authenticator 它会问你几个问题,推荐这样回答: 问题 推荐回答 Do you want authentication toke…