3, H3C switch SSH login

// Generate a local key

[switch] public-key local create { dsa | rsa | ecdsa }


// Enable the SSH server function

[switch] ssh server enable


// user enters line view VTY

[switch] line vty first-number [ last-number ]


// specify the authentication mode as scheme subscriber line

[switch-line] authentication-mode scheme


The following is optional.

-------------------------------------------------------------------


// (Optional) VTY user's SSH protocol support line

[switch-line] protocol inbound { all | ssh | telnet }


// (optional) The maximum number of user connections configured SSH to log in when the device, while online

[switch-line] aaa session-limit ssh max-sessions


// set IPv4 SSH user access control (optional)

[switch] ssh server acl acl-number


Configuration


Guess you like

Origin blog.51cto.com/12347226/2429346