Configuring the user interfaces for ssh clients, Configuring rsa and dsa keys, Creating rsa or dsa key pairs – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 611

Advertising
background image

64-6

Configuring the User Interfaces for SSH Clients

An SSH client accesses the device through a VTY user interface. Therefore, you need to configure the
user interfaces for SSH clients to allow SSH login. Note that the configuration takes effect at the next
login.

Follow these steps to configure the protocols for the current user interface to support:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter user interface view of one
or more user interfaces

user-interface

vty number

[ ending-number ]

Required

Set the login authentication
method to scheme

authentication-mode

scheme

[ command-authorization ]

Required
By default, the authentication
mode is password.

Specify the protocols for the user
interfaces to support

protocol inbound

{ all | ssh | telnet }

Optional
All protocols are supported by
default.

z

For detailed information about the authentication-mode and protocol inbound commands, refer
to Login in H3C WX6103 Access Controller Switch Interface Board Command Reference.

z

If you configure a user interface to support SSH, be sure to configure the corresponding
authentication method with the authentication-mode scheme command.

z

For a user interface configured to support SSH, you cannot configure the authentication-mode

password

command and the authentication-mode none command.

Configuring RSA and DSA Keys

Creating RSA or DSA key pairs

For successful SSH login, you must create the RSA or DSA key pairs first.

Follow these steps to create an RSA or DSA key pair:

To do…

Use the command…

Remarks

Enter system view

system-view

Create the local RSA key pair

public-key local create rsa

Create the local DSA key pair

public-key local create dsa

Required
Use either command.
By default, there is neither RSA key
pair nor DSA key pair.

Advertising