ssh 登录出现Are you sure you want to continue connecting (yes/no)?解决方法
2016-09-12 10:27
841 查看
转http://blog.csdn.net/mct_blog/article/details/52511314
ssh 登录出现Are you sure you want to continue connecting (yes/no)?解决方法
1,可以使用ssh -o 的参数进行设置
例如: ssh -o StrictHostKeyChecking=no root@192.168.111.22
2,修改/etc/ssh/ssh_config
将其中的# StrictHostKeyChecking ask 改成 StrictHostKeyChecking no
出现登录慢的解决方法:
先用ssh root@192.168.111.22 -vvv 查看出现在那一步比较慢
例如:出现 debug1: Unspecified GSS failure. Minor code may provide more information
No credentials cache found
均可以通过 ssh -o 的参数进行设置
出现如上问题可以使用: -o GSSAPIAuthentication=no
例如 : ssh -o GSSAPIAuthentication=no root@192.168.111.22
ssh 登录出现Are you sure you want to continue connecting (yes/no)?解决方法
1,可以使用ssh -o 的参数进行设置
例如: ssh -o StrictHostKeyChecking=no root@192.168.111.22
2,修改/etc/ssh/ssh_config
将其中的# StrictHostKeyChecking ask 改成 StrictHostKeyChecking no
出现登录慢的解决方法:
先用ssh root@192.168.111.22 -vvv 查看出现在那一步比较慢
例如:出现 debug1: Unspecified GSS failure. Minor code may provide more information
No credentials cache found
均可以通过 ssh -o 的参数进行设置
出现如上问题可以使用: -o GSSAPIAuthentication=no
例如 : ssh -o GSSAPIAuthentication=no root@192.168.111.22
相关文章推荐
- ssh 登录出现Are you sure you want to continue connecting (yes/no)?解决方法
- ssh 登录出现Are you sure you want to continue connecting (yes/no)?解决方法
- Are you sure you want to continue connecting etc ssh ssh_config StrictHostKeyChecking no
- 取消弹出信息:Are you sure you want to continue connecting
- Yii出现“You are not authorized to perform this action.”的解决方法
- hadoop 安装出现的几种异常的处理方法,hadoop无法启动,no namenode to stop问题的解决方法,no datanode
- Eclipse导入Android工程出现Project has no default.properties file! Edit the project properties to set one.的解决方法
- ZendStudio"No projects are found to import"解决方法
- SSH连接GitHub出现 ssh: connect to host github.com port 22: Connection refused解决方法
- ZendStudio"No projects are found to import"解决方法
- Cannot change network to bridged: There are no un-bridged host network adapters解决方法
- 解决"你无权访问此进程类型"的方法(You are Not Authorized to run Process Type)
- 【wireshark】wireshark 出现There are no interfaces on which a capture can be done.的解决方法
- WTL工程中出现运行“Did you forget to pass the LIBID to CComModule::Init”的解决方法
- 【wireshark】wireshark 出现There are no interfaces on which a capture can be done.的解决方法
- 安装系统出现No CD-ROM drive to use:GCDROM not loaded的解决方法
- 在使用apt-get安装报错:To continue type in the phrase 'Yes, do as I say!' ?] 解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- WTL工程中出现运行“Did you forget to pass the LIBID to CComModule::Init”的解决方法
- 关于ssh远程登录时出现问题的解决方法