366
Configuration procedure
To configure an SSH user, and specify the service type and authentication method:
Step Command
1.
Enter system view.
system-view
2.
Create an SSH user, and
specify the service type and
authentication method.
•
In non-FIPS mode:
ssh user username service-type
{
all
|
netconf
|
scp
|
sftp
|
stelnet
}
authentication-type
{
password
| {
any
|
password-publickey
|
publickey
} [
assign
{
pki-domain
domain-name
|
publickey
keyname&<1-6>
} ] }
•
In FIPS mode:
ssh user
username
service-type
{
all
|
netconf
|
scp
|
sftp
|
stelnet
}
authentication-type
{
password
|
password-publickey
[
assign
{
pki-domain
domain-name
|
publickey
keyname&<1-6>
} ] }
Configuring the SSH management parameters
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the SSH server to
support SSH1 clients.
ssh server compatible-ssh1x
enable
By default, the SSH server does
not support SSH1 clients.
This command is not available in
FIPS mode.
3.
Set the minimum interval for
updating the RSA server key
pair.
ssh server rekey-interval
interval
By default, the RSA server key
pair is not updated.
This command takes effect only
on SSH1 users.
This command is not available in
FIPS mode.
4.
Set the SSH user
authentication timeout timer.
ssh server
authentication-timeout
time-out-value
The default setting is 60 seconds.
If a user does not finish the
authentication when the timeout
timer expires, the connection
cannot be established.
5.
Set the maximum number of
SSH authentication
attempts.
ssh server
authentication-retries
retries
The default setting is 3.
If the authentication method is
any
, the total number of publickey
authentication attempts and
password authentication attempts
cannot exceed the upper limit.
6.
Specify an ACL to control
SSH user connections.
•
Control IPv4 SSH user
connections:
ssh server acl
{
advanced-acl-number
|
basic-acl-number
|
mac
mac-acl-number
}
•
Control IPv6 SSH user
connections:
ssh server ipv6 acl
{
ipv6
{
advanced-acl-number
|
basic-acl-number
}
|
mac
mac-acl-number
}
By default, no ACLs are specified
and all SSH users can initiate
SSH connections to the server.
Содержание FlexFabric 5940 SERIES
Страница 251: ...238 ...