Configuring The Device An Sftp Client; Specifying A Source Ip Address Or Interface For The Sftp Client; Establishing A Connection To The Sftp Server - HP 5120 EI Switch Series Configuration Manual

Hide thumbs Also See for 5120 EI Switch Series:
Table of Contents

Advertisement

To do...
Enter system view
Configure the SFTP connection
idle timeout period

Configuring the device an SFTP client

Specifying a source IP address or interface for the SFTP client

You can configure a client to use only a specified source IP address or interface to access the SFTP server,
enhancing the service manageability.
Follow these steps to specify a source IP address or interface for the SFTP client:
To do...
Enter system view
Specify a
source IP
address or
interface for the
SFTP client

Establishing a connection to the SFTP server

This configuration task will enable the SFTP client to establish a connection to the remote SFTP server and
enter SFTP client view.
Follow these steps to enable the SFTP client:
To do...
Establish a
connection to
the remote SFTP
server and
enter SFTP
client view
Use the command...
system-view
sftp server idle-timeout time-out-
value
Use the command...
system-view
Specify a
source IPv4
sftp client source { ip ip-address |
address or
interface interface-type interface-
interface for the
number }
SFTP client
Specify a
source IPv6
sftp client ipv6 source { ipv6 ipv6-
address or
address | interface interface-type
interface for the
interface-number }
SFTP client
Use the command...
sftp server [ port-number ] [identity-key { dsa | rsa }
Establish a
| prefer-ctos-cipher { 3des | aes128 | des } |
connection to
prefer-ctos-hmac { md5 | md5-96 | sha1 | sha1-
the remote IPv4
96 } | prefer-kex { dh-group-exchange | dh-
SFTP server
group1 | dh-group14 } | prefer-stoc-cipher { 3des
and enter SFTP
| aes128 | des } | prefer-stoc-hmac { md5 | md5-
client view
96 | sha1 | sha1-96 } ] *
Remarks
Optional
10 minutes by default
232
Remarks
Required
Use either command.
By default, an SFTP client uses the
IP address of the interface
specified by the route of the
device to access the SFTP server.
Remarks
Required
Use either
command in
user view.

Advertisement

Table of Contents
loading

Table of Contents