Example
ssh client ipv6 source
Syntax
View
Parameter
Description
Example
ssh client source
Syntax
View
Parameter
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.
# Enable the first authentication function.
<Sysname> system-view
[Sysname] ssh client first-time enable
ssh client ipv6 source { ipv6 ipv6-address | interface interface-type
interface-number }
undo ssh client ipv6 source
System view
ipv6 ipv6-address: Specifies a source IPv6 address.
interface interface-type interface-number: Specifies a source interface by its type
and number.
Use the
ssh client ipv6 source
source interface for the SSH client.
Use the
undo ssh client ipv6 source
By default, the client uses the source address specified by the route of the device
to access the SSH server.
# 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 { ip ip-address | interface interface-type interface-number }
undo ssh client source
System view
ip ip-address: Specifies a source IPv4 address.
command to specify the source IPv6 address or
command to remove the configuration.
2191