2192 CHAPTER 142: SSH2.0 CONFIGURATION COMMANDS

interface interface-typeinterface-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-retriescommand 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-retriescommand 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

Page 2192
Image 2192
3Com MSR 30, MSR 50 manual Ssh server authentication-retries, Related command display ssh client source