ssh server enable
line class vty 0 4
autentication-mode scheme
protocol inbound ssh
local-user +用户名
password simple +密码
server-type ssh
authorization-attribute user-role network-admin
ssh user +用户名 service-type stelnet authentication-type password
只有最后一条没配置会有影响吗,之前都能登录上,但是突然就登录不上了
配置发出来看下
# ssh server enable ssh server acl 2022 ssh server port 9022 # ssh2 algorithm key-exchange ecdh-sha2-nistp256 ecdh-sha2-nistp384 # # line vty 0 63 authentication-mode scheme user-role network-operator protocol inbound ssh idle-timeout 5 0 # local-user xxx class manage service-type ssh authorization-attribute user-role network-admin authorization-attribute user-role network-operator
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
少一行你都登录不上