1、domain system # local-user huawei /创建本地帐号“huawei”/ password simple huawei /设置密码为“huawei”/ service-type ssh /设置服务类型为ssh/ level 3 /设置用户优先级为3/ # # interface NULL0 # ssh user huawei authentication-type password /配置SSH用户验证方式为password/ ss
2、h user huawei service-type stelnet /配置SSH用户服务类型为stelnet/ # user-interface vty 0 4 authentication-mode scheme /设置scheme认证/ # return 【验证】 1、生成本地RSA主机密钥对和服务器密钥对 [Quidway]rsa local-key-pair create The key name will be: Quidway_Host The range of public key size is (5
3、12 ~ 2048). NOTES: If the key modulus is greater than 512, It will take a few minutes. Input the bits in the modulus[default = 512]: /主机密钥的缺省位数为512位/ Generating keys... ..............++++++++++++ .++++++++++++ ....................++++++++ .......++++++++ 2、使用SSH client软件,输入“hua