免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 31052 | 回复: 16
打印 上一主题 下一主题

linux 下ssh登录,怎么直接输入用户名和密码? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-12 12:31 |只看该作者 |倒序浏览
[root@www flowinglx]# ssh www.101du.net
The authenticity of host 'www.101du.net (60.210.17.34)' can't be established.
RSA key fingerprint is f4:d0:1a:9c:09:65:78:71:25:33:79:c2:d5:aa:0b:c1.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
[root@www flowinglx]#


我只想用用户名+密码的方式登录。
可它老是跳出这个东东,怎么处理啊?

论坛徽章:
0
2 [报告]
发表于 2007-12-12 12:43 |只看该作者

回复 #1 flowingtree 的帖子

论坛徽章:
8
摩羯座
日期:2014-11-26 18:59:452015亚冠之浦和红钻
日期:2015-06-23 19:10:532015亚冠之西悉尼流浪者
日期:2015-08-21 08:40:5815-16赛季CBA联赛之山东
日期:2016-01-31 18:25:0515-16赛季CBA联赛之四川
日期:2016-02-16 16:08:30程序设计版块每日发帖之星
日期:2016-06-29 06:20:002017金鸡报晓
日期:2017-01-10 15:19:5615-16赛季CBA联赛之佛山
日期:2017-02-27 20:41:19
3 [报告]
发表于 2007-12-12 12:45 |只看该作者
yes以后下次就不跳了

论坛徽章:
0
4 [报告]
发表于 2007-12-12 13:17 |只看该作者
原帖由 waker 于 2007-12-12 12:45 发表
yes以后下次就不跳了



是不跳了
[root@www www]# ssh root@www.101du.net
The authenticity of host 'www.101du.net (60.210.17.34)' can't be established.
RSA key fingerprint is f4:d0:1a:9c:09:65:78:71:25:33:79:c2:d5:aa:0b:c1.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'www.101du.net' (RSA) to the list of known hosts.
Permission denied (publickey,gssapi-with-mic,password).
[root@www www]# ssh root@www.101du.net
Permission denied (publickey,gssapi-with-mic,password).
[root@www www]#


可是它也没给我输入密码的机会啊

论坛徽章:
0
5 [报告]
发表于 2007-12-12 13:28 |只看该作者
localhost initrd # ssh root@www.101du.net
The authenticity of host 'www.101du.net (60.210.17.34)' can't be established.
RSA key fingerprint is f4:d0:1a:9c:09:65:78:71:25:33:79:c2:d5:aa:0b:c1.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'www.101du.net,60.210.17.34' (RSA) to the list of known hosts.
root@www.101du.net's password:
Permission denied, please try again.
root@www.101du.net's password:
Permission denied, please try again.
root@www.101du.net's password:
Permission denied (publickey,gssapi-with-mic,password).

我怎么有的

论坛徽章:
0
6 [报告]
发表于 2007-12-12 14:11 |只看该作者
Permission denied, please try again.   ....
密码错了,当然有啦

论坛徽章:
0
7 [报告]
发表于 2007-12-12 14:20 |只看该作者
把~/.ssh/known_hosts清除了试下

论坛徽章:
0
8 [报告]
发表于 2007-12-12 15:05 |只看该作者
同意楼上!

论坛徽章:
0
9 [报告]
发表于 2007-12-12 15:42 |只看该作者
[root@www .ssh]# vim known_hosts
[root@www .ssh]# ssh root@www.101du.net
The authenticity of host 'www.101du.net (60.210.17.34)' can't be established.
RSA key fingerprint is f4:d0:1a:9c:09:65:78:71:25:33:79:c2:d5:aa:0b:c1.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.
[root@www .ssh]# ssh root@www.101du.net
The authenticity of host 'www.101du.net (60.210.17.34)' can't be established.
RSA key fingerprint is f4:d0:1a:9c:09:65:78:71:25:33:79:c2:d5:aa:0b:c1.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'www.101du.net' (RSA) to the list of known hosts.
Permission denied (publickey,gssapi-with-mic,password).
[root@www .ssh]#

清除了,依久

论坛徽章:
0
10 [报告]
发表于 2008-07-10 14:32 |只看该作者
连续输错几次密码,提示:
[root@F8-602 openssh-5.0p1]# ssh 192.168.3.81
Permission denied (publickey,gssapi-with-mic).

不知到怎么解决。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP