A SERVICE OF

logo

2191
server later, it can use the locally saved public host key of the server to
authenticate the server.
With the first authentication function disabled, an SSH client cannot access any
server whose public host key it does not know. In this case, you must configure
the public host key of the server to be accessed and specify the public key name
on the client at first.
Example # Enable the first 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
Parameter ipv6 ipv6-address: Specifies a source IPv6 address.
interface interface-type interface-number: Specifies a source interface by its type
and number.
Description Use the
ssh client ipv6 source command to specify the source IPv6 address or
source interface for the SSH client.
Use the
undo ssh client ipv6 source command to remove the configuration.
By default, the client uses the source address specified by the route of the device
to access the SSH server.
Example # Specify the source IPv6 address as 2:2::2:2 for the SSH client.
<Sysname> system-view
[Sysname] ssh client ipv6 source ipv6 2:2::2:2
ssh client source
Syntax ssh client source { ip ip-address | interface interface-type interface-number }
undo ssh client source
View System view
Parameter ip ip-address: Specifies a source IPv4 address.