linux 密钥登录设置(ubuntu)
2014-04-25 10:16
204 查看
安装完edx之后,putty远程登录linux,发现要求使用密钥登录,修改会原有密码登录方式:
参考自:http://blog.csdn.net/zhaohaifan/article/details/8051694
基于密钥认证的配置
# vi /etc/ssh/sshd_config
PasswordAuthentication yes //禁止使用基于口令认证的方式登陆
PubkeyAuthentication no //允许使用基于密钥认证的方式登陆
# /etc/init.d/ssh reload
参考自:http://blog.csdn.net/zhaohaifan/article/details/8051694
基于密钥认证的配置
# vi /etc/ssh/sshd_config
PasswordAuthentication yes //禁止使用基于口令认证的方式登陆
PubkeyAuthentication no //允许使用基于密钥认证的方式登陆
# /etc/init.d/ssh reload
相关文章推荐
- ssh-keygen生成密钥设置方法,让ubuntu无密码登录linux
- SSH密钥登录Linux系统服务器的设置方法
- 确保Linux VPS及服务器更加安全之Xshell设置密钥登录
- Xshell设置密钥登录确保Linux VPS及服务器更加安全
- linux 密钥远程登录和防火墙设置
- Linux系列:Ubuntu/fedora实用小技巧—禁止自动锁屏、设置免密码自动登录、免密码执行sudo操作
- ubuntu设置 SSH 通过密钥对登录
- ubuntu设置 SSH 通过密钥登录
- Linux系列:Ubuntu/fedora实用小技巧—禁止自动锁屏、设置免密码自动登录、免密码执行sudo操作
- linux下设置或替换登录密钥
- ubuntu设置 SSH 通过密钥登录
- Linux VPS及服务器更加安全之设置Putty SSH使用密钥登录
- Linux —— 设置 SSH 通过密钥登录
- SecureCRT设置ssh密钥登录linux
- putty设置ssh密钥登录linux
- putty与Xshell生成与设置密钥登录Linux
- Linux设置ssh免密钥登录
- 【Linux】Ubuntu12.10 root用户登录设置
- 在Linux下设置最简单的ssh安全自动登录
- 腾讯云,激活ubuntu root登录,设置ssh