Command Manual ( For Soliton ) – SSH
H3C S3100 Series Ethernet Switches
Chapter 1 SSH Commands
1-26
Caution:
The
rsa peer-public-key import sshkey
command can transform only RSA public
keys. If you want DSA public keys to be transformed and configured automatically, use
the
public-key peer import sshkey
command.
Examples
# Transform the format of client public key file abc and configure a public key named
123.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] rsa peer-public-key 123 import sshkey abc
1.1.22 ssh authentication-type default
Syntax
ssh authentication-type default { all | password | password-publickey | publickey
| rsa }
undo ssh authentication-type default
View
System view
Parameters
all
: Specifies either the password authentication or the publickey authentication for
SSH users.
password
: Specifies the authentication mode for SSH users as password
authentication.
password-publickey
: Specifies that both the password and the publickey must be
authenticated for SSH users.
publickey
: Specifies the authentication mode for the SSH user as publickey (RSA key
or DSA key ) authentication.
rsa
: Specifies the authentication mode for the SSH user as publickey (RSA key or DSA
key ) authentication. The authentication modes specified by the
rsa
keyword and
publickey
keyword are implemented in the same way.