跳过正文

Authenticator

SSH Google Authenticator
·323 字·1 分钟
代码 Ssh-Google-Authenticator Ubuntu Google Ssh Two Factor Authenticator
通过 Google Authenticator 为 SSH 登录添加双重验证,提升安全性并更换默认端口。适用于 Ubuntu 系统,步骤包括安装 OpenSSH 和 Google Authenticator、生成密钥、配置手机应用、修改 PAM 和 SSH 配置文件,最后重启服务。使用 Authy 等应用扫描二维码即可获取动态验证码。