关于用搭建rac,设置户等效性
2016-10-28 13:50
162 查看
linux中ssh登录Permanently added (RSA) to the list of known hosts问题解决
用用户名+密码的方式登录出现以下问题:
1
[root@www]# ssh admin@xxx.xxx.xxx.xxx
2
The authenticity of host 'xxx.xxx.xxx.xxx can't be established.
3
RSA key fingerprint is f4:d0:1a:9c:09:65:78:71:25:33:79:c2:d5:aa:0b:c1.
4
Are you sure you want to continue connecting (yes/no)? no
5
Host key verification failed.
4000
6
[root@www]#
如果是直接输入yes
1
[root@www]# ssh admin@xxx.xxx.xxx.xx
2
The authenticity of host 'xxx.xxx.xxx.xxx' can't be established.
3
RSA key fingerprint is f4:d0:1a:9c:09:65:78:71:25:33:79:c2:d5:aa:0b:c1.
4
Are you sure you want to continue connecting (yes/no)? yes
5
Warning: Permanently added 'xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.
6
Permission denied (publickey,gssapi-with-mic,password).
7
[root@www]#
一、可以把~/.ssh/known_hosts清除
二、如果还是不行
修改/etc/ssh/sshd-config文件,将其中的PermitRootLogin no修改为yes,PubkeyAuthentication yes修改为no,AuthorizedKeysFile .ssh/authorized_keys前面加上#屏蔽掉,PasswordAuthentication no修改为yes就可以了。
三、如果还是有问题,那颗一用下面的方式解决:
用命令 ssh -l username hostname
1
Are you sure you want to continue connecting (yes/no)?
1、这个是ssh安全认证是的一个RSA认证。此处必须选择yes才能连接。
第一次yes后,他会询问你是否永久把这个RSA认证加入本地,选择yes后,以后不会再出现提醒。
每次登陆只需要输入密码即可。
2、也可以不用输入1中的yes,但是需要修改本机配置。
1
/etc/ssh/ssh_config 中的
2
# StrictHostKeyChecking ask 改成
3
StrictHostKeyChecking no
用用户名+密码的方式登录出现以下问题:
1
[root@www]# ssh admin@xxx.xxx.xxx.xxx
2
The authenticity of host 'xxx.xxx.xxx.xxx can't be established.
3
RSA key fingerprint is f4:d0:1a:9c:09:65:78:71:25:33:79:c2:d5:aa:0b:c1.
4
Are you sure you want to continue connecting (yes/no)? no
5
Host key verification failed.
4000
6
[root@www]#
如果是直接输入yes
1
[root@www]# ssh admin@xxx.xxx.xxx.xx
2
The authenticity of host 'xxx.xxx.xxx.xxx' can't be established.
3
RSA key fingerprint is f4:d0:1a:9c:09:65:78:71:25:33:79:c2:d5:aa:0b:c1.
4
Are you sure you want to continue connecting (yes/no)? yes
5
Warning: Permanently added 'xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.
6
Permission denied (publickey,gssapi-with-mic,password).
7
[root@www]#
一、可以把~/.ssh/known_hosts清除
二、如果还是不行
修改/etc/ssh/sshd-config文件,将其中的PermitRootLogin no修改为yes,PubkeyAuthentication yes修改为no,AuthorizedKeysFile .ssh/authorized_keys前面加上#屏蔽掉,PasswordAuthentication no修改为yes就可以了。
三、如果还是有问题,那颗一用下面的方式解决:
用命令 ssh -l username hostname
1
Are you sure you want to continue connecting (yes/no)?
1、这个是ssh安全认证是的一个RSA认证。此处必须选择yes才能连接。
第一次yes后,他会询问你是否永久把这个RSA认证加入本地,选择yes后,以后不会再出现提醒。
每次登陆只需要输入密码即可。
2、也可以不用输入1中的yes,但是需要修改本机配置。
1
/etc/ssh/ssh_config 中的
2
# StrictHostKeyChecking ask 改成
3
StrictHostKeyChecking no
相关文章推荐
- 关于极光推送 客户端以及服务器端的搭建和设置
- 关于RAC 的Data Guard中FAL_SERVER及FAL_CLIENT的设置
- hadoop环境搭建之关于NAT模式静态IP的设置 ---VMware12+CentOs7
- 关于HUSTOJ的搭建与virtual judge的设置
- 关于10g RAC监听设置,tnsnames.ora设置,VIP及客户端配置问题
- 一步一步搭建oracle 11gR2 rac+dg之共享磁盘设置(三)【转】
- 关于在linux平台上使用java.awt.*包的设置
- [导入]关于asp.net中的etag和LastModified等header的设置
- 关于表格的设置
- ASP.NET中关于上传附件的大小设置问题
- 关于WEB服务器系统盘权限简单设置
- tomcat设置关于目录
- 关于jsp环境配置及Bean的设置
- 原创关于asp.net快速入门教程的个性化门户配置设置篇一
- asp.net 关于form认证的一般设置:
- [新手点滴] 关于Multilined TextBox的多行文本设置的一个小问题。
- 关于把C程序连接到核心的设置, --核心开发入门
- 关于JVM参数设置
- 关于oracle的环境变量设置