最佳答案
<S7506E>
version 5.20, Release 6708P09
#
password-control enable
password-control aging 180
password-control length 8
password-control composition type-number 3 type-length 4
password-control login-attempt 5 exceed lock-time 10
#
password-recovery enable
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
public-key peer 10.106.205.130
public-key-code begin
30819F300D06092A864886F70D010101050003818D0030818902818100AD9EA23F086D9051
A60FB7001286D83DEDEF1944DC0DA7B834387AF68BB24C45323CACF46E87E81F9DFE5B9F4A
274A3310692BB3A29374C96B90E734C71B3F4967CE2412077F7CDCA9F734AF8565EE5B5FD1
D4455B696B5169AC8411E09E37D387E76AB246CA69A0CBDBEE8220A7E5ECC418928233D41D
2159AC45509A95631D0203010001
public-key-code end
peer-public-key end
#
public-key peer 172.31.24.2
public-key-code begin
30819F300D06092A864886F70D010101050003818D0030818902818100B0B8F29437CD3023
0CDC018726446EF673D49FF94A8E515E6D33E264225C1D0951D070B0FBD9AC57DB223B7312
187C7C16E8CE2E404B8533095701B9CC24821F9AE060B68A275F4C71212C3C5E8CE12FB88A
18B33AAB9DC38A701DED0A75A5A5171143EAE0A5F563499C24159658B18DFD0D1E56B9A3CA
E21C65EB40FEEF91D50203010001
public-key-code end
peer-public-key end
#
user-group system
group-attribute allow-guest
#
local-user h3c
authorization-attribute level 3
service-type ssh
password-control composition type-number 3 type-length 1
#
ssh server enable
ssh user h3c service-type stelnet authentication-type password
ssh client authentication server 10.106.205.130 assign publickey 10.106.205.130
ssh client authentication server 172.31.24.2 assign publickey 172.31.24.2
#
user-interface aux 1/0 2/1
user-interface vty 0 4
authentication-mode scheme
idle-timeout 35791 0
protocol inbound ssh
user-interface vty 5 15
(0)
这个是生成的密钥对
看不到附件 可以参考一下链接 关于ssh配置详细信息
https://www.h3c.com/cn/d_202108/1435127_30005_0.htm
(1)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
这个是生成的密钥对