软件环境
Client:Mac OS X
Server:Cent OS 6.5
问题描述
修改/etc/hosts的Server名称之后ssh登陆出现如下信息:
localhost:~ Bob$ ssh root@www.vm.com
The authenticity of host 'www.vm.com (10.211.55.4)' can't be established.
RSA key fingerprint is 75:b4:45:24:04:71:b9:64:5e:fc:58:8a:7d:14:ff:c0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'www.vm.com' (RSA) to the list of known hosts.
解决方案
由于是内网通信,所以不存在安全问题,所以去掉登录时主机密钥验证即可
localhost:~ Bob$ ssh -o StrictHostKeyChecking=no www.vm.com
时间: 2024-10-14 22:40:55