2192
C
142: SSH2.0 C
HAPTER
Description
Related command:
Example
ssh server authentication-retries
Syntax
View
Parameter
Description
Related command:
Example
C
ONFIGURATION
OMMANDS
interface interface-type interface-number: Specifies a source interface by its type
and number.
Use the
ssh client source
interface of the SSH client.
Use the
undo ssh client source
By default, an SSH client uses the IP address or interface specified by the route to
access the SSH server.
display ssh client source.
# Specify the source IPv4 address of the SSH client as 192.168.0.1.
<Sysname> system-view
[Sysname] ssh client source ip 192.168.0.1
ssh server authentication-retries times
undo ssh server authentication-retries
System view
times: Maximum number of authentication attempts, in the range 1 to 5.
Use the
ssh server authentication-retries
number of SSH connection authentication attempts, which takes effect at next
login.
Use the
undo ssh server authentication-retries
default.
By default, the maximum number of SSH connection authentication attempts is 3.
Note that the threshold specified by using the ssh server authentication-retries
command takes into account both publickey authentication attempts and
password authentication attempts.
display ssh server.
# Set the maximum number of SSH connection authentication attempts to 4.
<Sysname> system-view
[Sysname] ssh server authentication-retries 4
command to specify the source IPv4 address or source
command to remove the configuration.
command to set the maximum
command to restore the