Command Manual ( For Soliton ) – SSH
H3C S3100 Series Ethernet Switches
Chapter 1 SSH Commands
1-11
Caution:
z
If you have configured a user interface to support SSH protocol, to ensure a
successful login to the user interface, you must configure AAA authentication for the
user interface by using the
authentication-mode scheme
command.
z
For a user interface, if you have executed the
authentication-mode password
or
authentication-mode none
command, the
protocol inbound ssh
command
cannot be executed; if you have executed the
protocol inbound ssh
command,
neither of the
authentication-mode password
and
authentication-mode none
commands can be executed.
Examples
# Configure vty0 through vty4 to support SSH only.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] user-interface vty 0 4
[Sysname-ui-vty0-4] authentication-mode scheme
[Sysname-ui-vty0-4] protocol inbound ssh
1.1.10 public-key local create
Syntax
public-key local create
{
dsa
|
rsa
}
View
System view
Parameters
dsa
: Specifies the DSA key pair.
rsa
: Specifies the RSA key pair.
Description
Use the
public-key local create
command to create a local DSA key pair or RSA key
pair.
Note that:
z
Generating the RSA and DSA key pairs on the server is prerequisite to SSH login.