10506交换机只能单用户ssh登陆,只要一个用户连接上,另外一个用户就不能登陆(无论手动登陆还是堡垒机),并且日志报错为 ssh client 192.168.1.111 failed to log in because of version mismatch 。
(0)
日志内容 | SSH client [STRING] failed to log in because of version mismatch. |
参数解释 | $1:SSH客户端IP地址 |
日志等级 | 6 |
举例 | SSHS/6/SSHS_VERSION_MISMATCH: SSH client 192.168.30.117 failed to log in because of version mismatch. |
日志说明 | SSH客户端和服务器的SSH版本号不匹配 |
处理建议 | 修改版本,使SSH客户端和服务器使用相同SSH版本 |
(0)
ailed to log in because of version mismatch 。 版本不匹配。
在设备侧调整版本适应看下,以下是参考命令:
ssh server compatible-ssh1x enable
(0)
检查下local-user是否做了连接数限制,其次看下VTY中是否也做了连接数限制。
交换机修改了,还是无法同时登陆,但是报错变成 ssh user admin disconnect from the server。
检查下local-user是否做了连接数限制,其次看下VTY中是否也做了连接数限制。
你这日志报错看着不是登录用户数做了限制,是ssh版本不匹配导致。
(0)
line vty 0 4 authentication-mode scheme user-role network-operator protocol inbound ssh # line vty 5 63 user-role network-operator local-user root class manage password hash $h$6$9cmeb195pAvtwCnj$GghxNNXHp/LKV9pCfyfXHFUtVKnGN6OV7H2Ihjo5S4ghzzH++iMTTi5btVAXqvdSW5QcNGgkJ7dL42+6QFbv5g== service-type ssh terminal authorization-attribute user-role network-admin authorization-attribute user-role network-operator # local-user admin class manage password hash $h$6$vqFMm0eYPzEgnTec$rtSiUsNS4psmQ0FFRaRAbTlWzY5hxrZxtNbBHpeTbO+0GQFbVg+e9A2gLYqzj6Zk9eU9NBw3AZOhp/o/UfTbBg== service-type ftp service-type https ssh authorization-attribute user-role network-admin # local-user root2 class manage password hash $h$6$AmSfV7nHDrA/RtZB$wEY00xHxh8VOVeT27rzudqYtXZwURO8vcL2lDW3KcFNFbvNj/AS9WOEC8STnEMLU7e4UlN5WoeUfMgxwjsgXdg== service-type https ssh authorization-attribute user-role guest-manager authorization-attribute user-role network-operator # local-user root3 class manage password hash $h$6$xOiZkiSimKF0L9TC$wpGq2mhs1KlVKQCVw66x1JsFn7s7WXYh4QMpaNDVaJyfn3RgjIV8SEsujt7opaI7Oli5Qa2HjY+bj4QIVWaACQ== service-type https ssh authorization-attribute user-role level-2 # ftp server enable # ip https enable
没有看到其他报错
line vty 0 4 authentication-mode scheme user-role network-operator protocol inbound ssh # line vty 5 63 user-role network-operator local-user root class manage password hash $h$6$9cmeb195pAvtwCnj$GghxNNXHp/LKV9pCfyfXHFUtVKnGN6OV7H2Ihjo5S4ghzzH++iMTTi5btVAXqvdSW5QcNGgkJ7dL42+6QFbv5g== service-type ssh terminal authorization-attribute user-role network-admin authorization-attribute user-role network-operator # local-user admin class manage password hash $h$6$vqFMm0eYPzEgnTec$rtSiUsNS4psmQ0FFRaRAbTlWzY5hxrZxtNbBHpeTbO+0GQFbVg+e9A2gLYqzj6Zk9eU9NBw3AZOhp/o/UfTbBg== service-type ftp service-type https ssh authorization-attribute user-role network-admin # local-user root2 class manage password hash $h$6$AmSfV7nHDrA/RtZB$wEY00xHxh8VOVeT27rzudqYtXZwURO8vcL2lDW3KcFNFbvNj/AS9WOEC8STnEMLU7e4UlN5WoeUfMgxwjsgXdg== service-type https ssh authorization-attribute user-role guest-manager authorization-attribute user-role network-operator # local-user root3 class manage password hash $h$6$xOiZkiSimKF0L9TC$wpGq2mhs1KlVKQCVw66x1JsFn7s7WXYh4QMpaNDVaJyfn3RgjIV8SEsujt7opaI7Oli5Qa2HjY+bj4QIVWaACQ== service-type https ssh authorization-attribute user-role level-2 # ftp server enable # ip https enable
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
交换机也没有做过调整,之前是可以同时登陆。