ssh登录提示秘钥错误,如果未通过public-key local create 命令手动创建密钥对,设备会自动创建RSA密钥对。
<5560ei>ssh2 172.31.2.41
Username: X
Press CTRL+C to abort.
Connecting to 172.31.2.41 port 22.
The server"s host key does not match the local cached key. Either the server administrator has changed the host key, or you connected to another server pretending to be this server. Please remove the local cached key, before logging in!
删除本地保存的公钥:delete ssh client server-public-key server-ip 172.31.2.41、
如设备不支持该命令,重新创建下秘钥对即可public-key local create { dsa | rsa }(要创建的秘钥对类型,与服务器保持一致即可)
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作