使用Google Authenticator两步验证加强SSH登录
Jan 28, 2016
Google Authenticator开源版主页 https://github.com/google/google-authenticator
安装Google Authenticator Ubuntu通过以下命令安装:
apt-get install libpam-google-authenticator CentOS通过以下命令安装:
yum install google-authenticator 其他系统可以通过源码编译安装
git clone https://github.com/google/google-authenticator-libpam.git cd google-authenticator-libpam/ ./bootstrap.sh ./configure make make install 注意:在Debian7中执行./configure时可能存在以下错误提示
…