1-7
To do...
Use the command...
Remarks
Specify the supported
protocol(s)
protocol inbound
{
all
|
ssh
}
Optional
By default, both Telnet and
SSH are supported.
z
If you have configured a user interface to support SSH protocol, you must configure AAA
authentication for the user interface by using the
authentication-mode scheme
command to
ensure successful login.
z
On a user interface, if the
authentication-mode password
or
authentication-mode none
command has been executed, the
protocol inbound ssh
command is not available. Similarly, if
the
protocol inbound ssh
command has been executed, the
authentication-mode password
and
authentication-mode none
commands are not available.
Configuring the SSH Management Functions
The SSH server provides a number of management functions to prevent illegal operations such as
malicious password guess, guaranteeing the security of SSH connections. You can specify the IP
address or the interface corresponding to the IP address for the SSH server to provide SSH access
services for clients. In this way, the SSH client accesses the SSH server only using the specified IP
address. This increases the service manageability when the SSH server has multiple interfaces and IP
addresses.
Follow these steps to configure SSH management functions:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Set the SSH authentication
timeout time
ssh server timeout
seconds
Optional
By default, the SSH
authentication timeout time is 60
seconds.
Set the number of SSH
authentication retry attempts
ssh server
authentication-retries
times
Optional
By default, the number of SSH
authentication retry attempts is 3.
Configure a login header
header shell text
Optional
By default, no login header is
configured.
Specify a source IP address for
the SSH server
ssh-server source-ip
ip-address
Optional
By default, no source IP address
is configured.
Specify a source interface for
the SSH server
ssh-server source-interface
interface-type
interface-number
Optional
By default, no source interface is
configured.