Experiment on connecting devices to the SSH server as a STelnet Client
Use stelnet to connect a vro as an ssh server. For example, download an update package. Or download a new system file on the vro. Generate a local key pair on the Server <Huawei> system-view [Huawei] sysname SSH Server [SSH Server] rsa local-key-pair create an SSH user on the Server # configure the VTY user interface. [SSH Server] user-interface vty 0 4 [SSH Server-ui-vty0-4] authentication-mode aaa [SSH Server-ui-vty0-4] protocol inbound ssh [SSH Server-ui-vty0-4] quit create SSH user Client001. # Create an SSH user whose username is Client001, set the password to huawei, and set the authentication method to password. [SSH Server] aaa [SSH Server-aaa] local-user client001 password cipher huawei [SSH Server-aaa] local-user client001 service-type ssh [SSH Server-aaa] quit [SSH Server] ssh user client001 authentication-type password creates an SSH user Client002. # Create an SSH user whose username is Client002, set the password to huawei, and set the authentication method to RSA. [SSH Server] aaa [SSH Server-aaa] local-user client002 password cipher huawei [SSH Server-aaa] local-user client002 service-type ssh [SSH Server-aaa] quit [SSH Server] ssh user client002 authentication-type rsa configuration Server-side RSA public key # client Client002 generation client local key pair <Huawei> system-view [Huawei] sysname client002 [client002] rsa local -key-pair create # view the RSA public key generated on the client. [Client002] display rsa local-key-pair public