3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2192 CHAPTER 142: SSH2.0 CONFIGURATION COMMANDS
interface interface-type interface-number: Specifies a source interface by its type
and number.
Description Use the
ssh client source command to specify the source IPv4 address or source
interface of the SSH client.
Use the
undo ssh client source command to remove the configuration.
By default, an SSH client uses the IP address or interface specified by the route to
access the SSH server.
Related command: display ssh client source.
Example # 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
Syntax ssh server authentication-retries times
undo ssh server authentication-retries
View System view
Parameter times: Maximum number of authentication attempts, in the range 1 to 5.
Description Use the
ssh server authentication-retries command to set the maximum
number of SSH connection authentication attempts, which takes effect at next
login.
Use the
undo ssh server authentication-retries command to restore the
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.
Related command: display ssh server.
Example # Set the maximum number of SSH connection authentication attempts to 4.
<Sysname> system-view
[Sysname] ssh server authentication-retries 4