ssh user service-type命令功能 ssh user service-type命令用来配置SSH用户的服务方式。 undo ssh user service-type命令用来恢复SSH用户的服务方式到缺省情况。 缺省情况下,SSH用户的服务方式是空,即不支持任何服务方式。 命令格式 ssh user user-name service-type { [
ssh user user-name service-type { [ sftp | stelnet | snetconf ] * | all } undo ssh user user-name service-type Parameters ParameterDescriptionValue user-name Specifies the SSH user name. The value is a string of 1 to 253 case-insensitive characters without spaces. NOTE: When quotation...
[R1-aaa]local-user user1 service-type ssh 3、SSH服务器端开启STelnet服务功能 [R1]stelnet server enable 4、配置接口的IP地址和认证方式 [R1]int g0/0/0 [R1-GigabitEthernet0/0/0]ip add 10.1.12.2 24 [R1]ssh user user1 authentication-type password (默认认证方式)5、测试 ...
执行命令ssh user user-name,创建用户名。 执行命令ssh authentication-type default password,配置SSH用户缺省采用密码认证。 用户也可以通过执行命令ssh user user-name authentication-type password配置SSH用户认证方式为密码认证。 执行命令ssh user user-name service-type { stelnet | all },配置SSH用户的服务方式...
[HUAWEI]ssh user user service-type stelnet //服务类型为ssh 进入aaa模式下配置用户 [HUAWEI]aaa //进入aaa模式 [HUAWEI-aaa]local-user user password cipher user123 //配置用户密码为user123 [HUAWEI-aaa]local-user user privilege level 15 //配置用户权限级别 [HUAWEI-aaa]local-user user service-type...
all Set all service type sftp Set SFTP service type stelnet Set Stelnet service type Huaweissh user 1 service-type 26、stelnet 15、配置SSH用户按命令行授权,即只能通过命令行使用Huaweissh user 1 authorization-cmd ? aaa Set the AAA authorization mode password认证依靠AAA实现,当用户使用password、...
使用STelnet V1协议存在安全风险,建议使用登录设备。 1、生成本地密钥对 密钥保存在交换机中单不保存在配置文件中 [Huawei]rsa ? key-pairRSAkey pair local-key-pair Local RSA public key pair operations peer-public-key Remote peer RSA public key configuration ...
service-type stelnet #配置用户client001方式为stelnet# ssh user client002service-type stelnet #配置用户client002方式为stelnet# 第七部:Client001和net002上使能首次认证功能 ssh client first-timeenable 第八步:验证SSH 用户001 SSH 的过程如下图:成功 用户Client002 SSH 的过程如下图:...
ssh user user-name assign pki pki-name 为SSH服务器分配PKI证书。 前提条件是PKI配置已完成。 提交配置 commit - 配置SSH用户的服务方式。 ssh user user-name service-type { all | { sftp | stelnet | snetconf }*} (可选)配置SSH用户的SAN/CN校验。 ssh user user-name cert-verify-san enable 当...
[SW1]ssh user admin service-type stelnet 1. 2. 3. 4. 5. 6. 7. 8. 4、进入aaa模式下配置用户 # 进入aaa模式 [SW1]aaa # 配置密码为 Admin@123 [SW1-aaa]local-user admin password cipher Admin@123 # 配置用户权限 15是最高 [SW1-aaa]local-user admin privilege level 15 ...