ssh-keygen后,仍提示需要密码
来源:互联网 发布:单片机u盘方案 编辑:程序博客网 时间:2024/05/05 04:44
原文作者:http://6month.itpub.net/post/37672/468711
对此表示感激不尽!!!!!!!!!!!!!!!!!
ssh-keygen后仍提示需要密码。
1.查看debug信息:ssh -v root@123.22.22.22
OpenSSH_5.8p1, OpenSSL 0.9.8r 8 Feb 2011
......
......
debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/thinkpad/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
debug1: Trying private key: /home/thinkpad/.ssh/id_dsa
debug1: Trying private key: /home/thinkpad/.ssh/id_ecdsa
debug1: Next authentication method: keyboard-interactive
Password:
发现使用rsa public key没了下文。
2.查看要连接的机子的secure log.
vi /var/log/secure
...
...
Authentication refused: bad ownership or modes for directory /root
查看root权限居然为 777,而正常的应该为755,遂:
chmod 755 root
3.重连解决。
对此表示感激不尽!!!!!!!!!!!!!!!!!
ssh-keygen后仍提示需要密码。
1.查看debug信息:ssh -v root@123.22.22.22
OpenSSH_5.8p1, OpenSSL 0.9.8r 8 Feb 2011
......
......
debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/thinkpad/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
debug1: Trying private key: /home/thinkpad/.ssh/id_dsa
debug1: Trying private key: /home/thinkpad/.ssh/id_ecdsa
debug1: Next authentication method: keyboard-interactive
Password:
发现使用rsa public key没了下文。
2.查看要连接的机子的secure log.
vi /var/log/secure
...
...
Authentication refused: bad ownership or modes for directory /root
查看root权限居然为 777,而正常的应该为755,遂:
chmod 755 root
3.重连解决。
- ssh-keygen后,仍提示需要密码
- ssh 建立信任关系后,仍需要输入密码
- ssh 建立信任关系后,仍需要输入密码
- SSH配置免密码登录后,仍需要输入密码——解决方案
- centos配置ssh免密码登录后,仍提示输入密码
- CentOS配置SSH免密码登录后,仍提示输入密码
- centos配置ssh免密钥登录但是仍提示需要输入密码的解决办法
- ssh 免密码登录设置后还是提示需要输入密码
- ssh 免密码登录设置后还是提示需要输入密码
- SSH使用ssh-keygen免密码登录
- LINUX ssh keygen 免输入密码
- centos6 ssh-keygen 免密码 自动登陆
- ssh-keygen的使用方法(无密码访问)
- ssh-keygen秘钥登陆(免密码)
- 使用ssh-keygen,不用密码远程登录
- linux ssh 使用ssh-keygen设置SSH无密码登录
- 【CentOS 学习(二)】su root 输入正确密码后仍提示Incorrect password,如何解决?
- 用ssh-keygen来设置ssh无密码登录
- 如何手动将jar文件加入到Maven 3的local repository中
- 我的第一篇博客
- memcache 的配置
- inet_ntoa的实现
- user 'IIS APPPOOL\ASP.NET v4.0' error in IIS7问题的解决方法
- ssh-keygen后,仍提示需要密码
- 读取103收货冻结的function
- Eclipse 中,JS报错
- volatile浅谈
- static和const关键字的用法
- inet_ntoa问题记录
- diamond专题(一)– 简介和快速使用
- 关于ssh 配置文件的参数说明
- doxygen lua