1.system-view 2.public-key local create rsa ssh server enable 3.user-interface vty vty号 (0 4) authentication-mode scheme 上述操作是设置一个VTY的,如果允许同时登陆多个,需要登几个就设几个VTY,重复上面俩操作即可 protocol inbound all 4.quit 5.local-user 用户名(admin) password simple 密码(admin) //不修改密码,此操作可省略 authorization-attribute level 3(默认级别为0,很多命令无法执行,3为最高权限) //可以不设置权限 service-type ssh 6.quit 7.ssh user 用户名 service-type stelnet authentication-type password
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/216581.html原文链接:https://javaforall.net
