H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SSH Terminal Service
H3C S7500 Series Ethernet Switches
Chapter 1 SSH Terminal Service
Configuration Commands
1-7
Caution:
z Before configuring the user interface to support the SSH protocol, to ensure a
successful login, you must configure the AAA authentication using the
authentication-mode scheme command.
z The protocol inbound ssh configuration fails if you have enabled the
authentication-mode password command or the authentication-mode none
command. When you have configured the SSH protocol successfully for the user
interface, then you cannot enable the authentication-mode password command
or the authentication-mode none command any more.
Related commands: user-interface vty.
Examples
# Configure vty0 through vty4 to support SSH only.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] user-interface vty 0 4
[H3C-ui-vty0-4] authentication-mode scheme
[H3C-ui-vty0-4] protocol inbound ssh
1.1.7 public-key-code begin
Syntax
public-key-code begin
View
Public key view
Parameters
None
Description
Use the public-key-code begin command to enter public key code view and input the
client public key.
You can key in a blank space between characters (since the system can remove the
blank space automatically), or press <Enter> to continue your input at the next line. But
the client public key, which is generated randomly by the SSH2.0-supporting client
software, should be a hexadecimal character string coded in the public key format.
Related commands: rsa peer-public-key, public-key-code end.