| 场景 | SSH 配置跨厂迁移/加固 |
|---|---|
| 适用 | 三厂通用 |
| 命令族 | ssh server / crypto key |
华为 VRP
华为 VRP
rsa local-key-pair create
stelnet server enable
ssh user admin authentication-type password
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh思科 IOS
思科 IOS
ip domain-name example.com
crypto key generate rsa modulus 2048
ip ssh version 2
line vty 0 4
login local
transport input sshH3C Comware
H3C Comware
public-key local create rsa
ssh server enable
line vty 0 4
authentication-mode scheme
protocol inbound ssh差异:密钥生成——华为 rsa local-key-pair create、思科 crypto key generate rsa、H3C public-key local create rsa;VTY 协议放行:protocol inbound ssh vs transport input ssh。