488
Examples
# Use the 128-bit Suite B algorithms to establish a connection to SFTP server
10.1.1.2
. Specify the
client's PKI domain and the server's PKI domain as
clientpkidomain
and
serverpkidomain
,
respectively.
<Sysname> sftp 10.1.1.2 suite-b 128-bit pki-domain clientpkidomain server-pki-domain
serverpkidomain
Username
ssh client ipv6 source
Use
ssh
client
ipv6
source
to configure the source IPv6 address for SSH packets that are sent by
the Stelnet client.
Use
undo ssh client ipv6 source
to restore the default.
Syntax
ssh client ipv6 source
{
interface
interface-type interface-number
|
ipv6
ipv6-address
}
undo ssh client ipv6 source
Default
The source IPv6 address for SSH packets is not configured. The Stelnet client automatically selects
an IPv6 address for SSH packets in compliance with RFC 3484.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
interface interface-type interface-number
: Specifies a source interface by its type and number. The
SSH packets use the longest-matching IPv6 address of the specified interface as their source
address.
ipv6 ipv6-address
: Specifies a source IPv6 address.
Usage guidelines
This command takes effect on all IPv6 Stelnet connections. The source IPv6 address specified in the
ssh2 ipv6
command takes effect only on the current IPv6 Stelnet connection. If you specify the
source IPv6 address both in this command and the
ssh2 ipv6
command, the source IPv6 address
specified in the
ssh2 ipv6
command takes effect.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Specify
2:2::2:2
as the source IPv6 address for SSH packets that are sent by the Stelnet client.
<Sysname> system-view
[Sysname] ssh client ipv6 source ipv6 2:2::2:2
Related commands
display ssh client source