beautypg.com

Ii. stopping sftp client, Iii. performing sftp directory operations – H3C Technologies H3C S3100 Series Switches User Manual

Page 512

background image

Operation Manual – SSH Terminal Service

H3C S3100-52P Ethernet Switch

Chapter 1 SSH Terminal Service

1-26

Table 1-16

Start SFTP Client

Operation

Command

Description

Enter system view system-view

Start SFTP Client

sftp

{ host-ip | host-name } [ port-num ]

[ prefer_kex { dh_group1 |
dh_exchange_group

} ]

[ prefer_ctos_cipher { des | aes128 } ]

[ prefer_stoc_cipher { des | aes128 } ]

[ prefer_ctos_hmac { sha1 | sha1_96 |
md5

| md5_96 } ] [ prefer_stoc_hmac

{ sha1 | sha1_96 | md5 | md5_96 } ]

Required

II. Stopping SFTP Client

Table 1-17

Stop SFTP Client

Operation

Command

Description

Enter system view

system-view

Enter SFTP client view

sftp

{

host-ip |

host-name

}

bye

exit

Stop SFTP Client

quit

The three commands

have the same function.

III. Performing SFTP directory operations

SFTP directory operations include: changing or displaying the current directory,
creating or deleting a directory, displaying file or directory information in a specific
directory.

Table 1-18

Perform SFTP directory operation

Operation

Command

Description

Enter system view

system-view

Enter SFTP client view

sftp

{

host-ip |

host-name

}

Change the current

directory

cd remote-path

Return to the upper

directory

cdup

Display the current

directory

pwd

Optional