Ssh Client Source - HP FlexFabric 7900 Series Command Reference Manual

Security
Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

Examples
# Specify the source IP address for the SFTP client as 192.168.0.1.
<Sysname> system-view
[Sysname] sftp client source ip 192.168.0.1
Related commands
display sftp client source

ssh client source

Use ssh client source to specify the source IPv4 address or source interface for the Stelnet client.
Use undo ssh client source to remove the configuration.
Syntax
ssh client source { interface interface-type interface-number | ip ip-address }
undo ssh client source
Default
The Stelnet client uses the IPv4 address of the interface specified by the route of the device to access the
Stelnet server.
Views
System view
Predefined user roles
network-admin
Parameters
interface interface-type interface-number: Specifies the primary IP address of the interface as the source
address. The interface-type interface-number argument specifies a source interface by its type and
number.
ip ip-address: Specifies a source IPv4 address.
Usage guidelines
The Stelnet client uses the specified source address to communicate with the server.
If you execute the ssh client source command multiple times, the most recent configuration takes effect.
If you use the ssh2 command to connect to an Stelnet server and specify another source IP address, the
Stelnet client uses the new source IPv4 address for the current connection instead of that specified by the
ssh client source command.
The source address specified by the ssh client source command applies to all Stelnet connections, but the
source address specifies by the ssh2 command applies only to the current Stelnet connection.
Examples
# Specify the source IPv4 address for the Stelnet client as 192.168.0.1.
<Sysname> system-view
[Sysname] ssh client source ip 192.168.0.1
Related commands
display ssh client source
203

Advertisement

Table of Contents
loading

Table of Contents