ssh user service-type 命令功能 ssh user service-type命令用来配置SSH用户的服务方式。 undo ssh user service-type命令用来恢复SSH用户的服务方式到缺省情况。 缺省情况下,SSH用户的服务方式是空,即不支持任何服务方式。 命令格式 ssh useruser-nameservice-type{ [sftp|stelnet|snetconf]*|all} ...
执行命令display ssh user-information,查看SSH用户的配置信息。如果不存在配置信息,请在系统视图下执行命令ssh user、ssh user authentication-type和ssh user service-type,新建SSH用户并配置SSH用户的认证方式和SSH用户的服务方式。 查看登录SSH服务器端的用户数是否到达了上限。
ssh user client001 service-type stelnet #配置用户client001服务方式为stelnet# ssh user client002 service-type stelnet #配置用户client002服务方式为stelnet# 第七部:Client001和clinet002上使能首次认证功能 ssh client first-time enable 第八步:验证SSH 用户Client001 SSH 登录的过程如下图:成功 用户Client...
[Huawei]ssh user 1 service-type ? all Set all service type sftp Set SFTP service type stelnet Set Stelnet service type [Huawei]ssh user 1 service-type stelnet 15、配置SSH用户按命令行授权,即只能通过命令行使用 [Huawei]ssh user 1 authorization-cmd ? aaa Set the AAA authorization mode passwo...
local-user admin service-type ssh //服务类型为ssh # interface GigabitEthernet0/0/1 ip address 192.168.137.254 255.255.255.0 # stelnet server enable //激活Stelnet服务: # ip route-static 0.0.0.0 0.0.0.0 192.168.137.1 # user-interface con 0 authentication-mode password user-...
[H3C]ssh user client001 service-type stelnet authentication-type password [H3C]quit <H3C>save The current configuration will be written to the device. Are you sure? [Y/N]:y Please input the file name(*.cfg)[flash:/startup.cfg]
ssh user51ctoservice-type stelnet //设置认证用户使用的协议 interfaceVlanif40// 设置交换机的管理IP地址 ip address10.0.0.2 255.255.255.0 以上设置完成后,可以先PING管理IP地址是否成功,如果成功后,可先在特权模式下输入【STELNET IP地址 】登陆交换机(注意,特权模式下就是命令行的提示符为方框号的,输入SYS命...
14、配置SSH用户的服务类型Huaweisshuser1service-type?allSetallservicetypesftpSetSFTPservicetypestelnetSetStelnetservicetypeHuaweisshuser1service-typestelnet15、配置SSH用户按命令行授权,即只能通过命令行使用Huaweisshuser1authorization-cmd?aaaSettheAAAauthorizationmodepassword认证依靠AAA实现,当用户使用password、...
华为交换机设置SSH登录,RSA密钥长度按默认即可。 rsa local-key-pair create ssh user admin ssh user admin authentication-type password ssh user admin service-type stelnet aa
[Switch-luser-manage-client001] authorization-attribute user-role network-admin [Switch-luser-manage-client001] quit 8、# 配置SSH用户client001的服务类型为Stelnet,认证方式为password认证。(此步骤可以不配置) [Switch] ssh user client001 service-type stelnet ...