<H3C>ssh2 127.0.0.1 Username: admin Press CTRL+C to abort. Connecting to 127.0.0.1 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! <H3C>%Jan 1 00:10:38:986 2013 H3C SSHC/6/SSHC_KEY_EXCHANGE_FAIL: The SSH client failed to exchange keys with the SSH server. %Jan 1 00:10:38:991 2013 H3C SSHS/6/SSHS_LOG: Connection closed by 127.0.0.1. %Jan 1 00:10:38:992 2013 H3C SSHS/6/SSHS_DISCONNECT: SSH user (null) (IP: 127.0.0.1) disconnected from the server.
请问大佬:这个是什么原因呢?
这是我的配置
public-key local create rsa
public-key local create dsa
ssh server enable
user-interface vty 0 15
authentication-mode scheme
protocol inbound ssh
quit
local-user admin password simple Aa123456
service-type ssh
authorization-attribute user-role network-admin quit
(0)
最佳答案
%Jan 1 00:10:38:986 2013 H3C SSHC/6/SSHC_KEY_EXCHANGE_FAIL: The SSH client failed to exchange keys with the SSH server.
看下是否有针对这个ssh客户端配置了public-peer的key,如果有,undo掉看下是否能登录。
(0)
<H3C>dis public-key peer brief <H3C> 查看是空的
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
<H3C>dis public-key peer brief <H3C> 查看是空的