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