249
undo ssh client first-time
View
System view
Default level
2: System level
Parameters
enable
: Enables the first-time authentication of the SSH client to the SSH server. This keyword is not
necessary. Even if it is not specified, the command can also enable the first-time authentication function.
Description
Use the
ssh client first-time
command to enable the first-time authentication function.
Use the
undo ssh client first-time
command to disable the function.
By default, the function is enabled.
With first-time authentication, when an SSH client not configured with the server host public key accesses
the server for the first time, the user can continue accessing the server, and save the host public key on
the client. When accessing the server again, the client will use the saved server host public key to
authenticate the server.
Without first-time authentication, a client not configured with the server host public key will deny to
access the server. To access the server, a user must configure in advance the server host public key locally
and specify the public key name for authentication.
Because the server might update its key pairs periodically, clients must obtain the most recent public keys
of the server for successful authentication of the server.
Examples
# Enable the first-time authentication function.
<Sysname> system-view
[Sysname] ssh client first-time enable
ssh client ipv6 source
Syntax
ssh client ipv6 source
{
ipv6
ipv6-address
|
interface
interface-type interface-number
}
undo ssh client ipv6 source
View
System view
Default level
3: Manage level
Parameters
ipv6
ipv6-address
: Specifies a source IPv6 address.
interface
interface-type interface-number
: Specifies a source interface by its type and number.