356
Syntax
ssh client first-time enable
undo ssh client first-time
Default
The function is enabled.
Views
System view
Default command level
2: System level
Usage guidelines
Without first-time authentication, a client not configured with the server's host public key does not
access the server. To access the server, a user must configure in advance the server's host public
key locally and specify the public key name for authentication.
With first-time authentication, when an SSH client not configured with the server's host public key
accesses the server for the first time, the user can continue accessing the server, and save the
server's host public key on the client. When accessing the server again, the client uses the saved
server host public key to authenticate the server.
Because the server might update its key pairs periodically, a client must obtain the most recent host
public key 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
Use
ssh
client
ipv6
source
to specify the source IPv6 address or source interface for the Stelnet
client.
Use
undo ssh client ipv6 source
to remove the configuration.
Syntax
ssh client ipv6 source
{
interface
interface-type interface-number
|
ipv6
ipv6-address
}
undo ssh client ipv6 source
Default
An Stelnet client uses the IPv6 address of the interface specified by the route of the device to access
the Stelnet server.
Views
System view
Default command level
3: Manage level
Parameters
interface
interface-type interface-number
: Specifies a source interface by its type and number.
ipv6
ipv6-address
: Specifies a source IPv6 address.