Terminating The Connection To The Remote Sftp Server; Sftp Client Configuration Example - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

To do...
Enter SFTP client view
Display a list of all commands
or the help information of an
SFTP client command

Terminating the Connection to the Remote SFTP Server

Follow these steps to terminate the connection to the remote SFTP server:
To do...
Enter SFTP client
view
Terminate the
connection to the
remote SFTP server
and return to user
view

SFTP Client Configuration Example

Network requirements
As shown in
Figure
SFTP client, logs in to Switch B for file management and file transfer. An SSH user uses publickey
authentication with the public key algorithm being RSA.
Figure 2-1 Network diagram for SFTP client configuration
Configuration procedure
1)
Configure the SFTP server (Switch B)
sftp [ ipv6 ] server [ port-number ]
[ identity-key { dsa | rsa } |
prefer-ctos-cipher { aes128 | des } |
prefer-ctos-hmac { md5 | md5-96 | sha1 |
sha1-96 } | prefer-kex
{ dh-group-exchange | dh-group1 |
dh-group14 } | prefer-stoc-cipher { aes128
| des } | prefer-stoc-hmac { md5 | md5-96 |
sha1 | sha1-96 } ] *
help [ all | command-name ]
Use the command...
sftp [ ipv6 ] server [ port-number ]
[ identity-key { dsa | rsa } |
prefer-ctos-cipher { aes128 | des } |
prefer-ctos-hmac { md5 | md5-96 | sha1
| sha1-96 } | prefer-kex
{ dh-group-exchange | dh-group1 |
dh-group14 } | prefer-stoc-cipher
{ aes128 | des } | prefer-stoc-hmac
{ md5 | md5-96 | sha1 | sha1-96 } ] *
bye
exit
quit
2-1, an SSH connection is established between Switch A and Switch B. Switch A, an
Use the command...
Required
Execute the command in user
view.
Required.
Use any of the commands.
These three commands
function in the same way.
2-5
Remarks
Required
Execute the
command in user
view.
Required
Remarks

Advertisement

Chapters

Table of Contents
loading

Table of Contents