
1-28
in subsequent authentications. In this mode, the client cannot ensure the correctness of the SSH
server's host public key.
z
With first-time authentication disabled, you must configure the server’s host public key and specify
the public key name for authentication on the client in advance.
For details about first-time authentication, refer to corresponding section in
SSH Operation.
Examples
# Disable the client to run first-time authentication on an SSH client.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] undo ssh client first-time
ssh server authentication-retries
Syntax
ssh server authentication-retries
times
undo ssh server authentication-retries
View
System view
Parameters
times
: Authentication retry times, in the range of 1 to 5.
Description
Use the
ssh server authentication-retries
command to set the authentication retry times for SSH
connections. This configuration will take effect for all users logging in later.
Use the
undo ssh server authentication-retries
command to restore the default authentication retry
times.
By default, the number of authentication retry times is 3.
If you have used the
ssh user authentication-type
command to configure the authentication type of a
user to
password-publickey
, you must set the authentication retry times to a number greater than or
equal to 2 (so that the user can access the switch).
Related commands:
display ssh server
.
Examples
# Set the authentication retry times to four.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ssh server authentication-retries 4
Содержание 5500-EI Series
Страница 43: ...2 6 ...
Страница 76: ...1 17 ...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46 ...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast ...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 519: ...iii ...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain ...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static ...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2 ...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008 ...
Страница 1111: ...ii xmodem get 3 18 ...
Страница 1314: ...A 44 Z ...