華為交換機設置SSH登錄,RSA密鑰長度按默認即可。
rsa local-key-pair create
ssh user admin
ssh user admin authentication-type password
ssh user admin service-type stelnet
aaa
local-user admin password cipher 登錄密碼
local-user admin privilege level 15
local-user admin service-type ssh
stelnet server enable
user-interface vty 0 4
authentication-mode aaa
protocol inbound all
如果是遠程配置,在ssh測試成功后將protocol inbound all改為protocol inbound ssh