440
C
HAPTER
38: FTP
AND
SFTP C
ONFIGURATION
Table 336
Basic configurations on an SFTP client
Operation
Command
Description
Enter system view
system-view
-
Enter SFTP client view
sftp
{
host-ip | host-name
} [
port-num
] [
identity-key
{
dsa
|
rsa
} |
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
Change the working directory
on the remote SFTP server
cd
pathname
Optional
Change the working directory
to be the parent directory
cdup
Display the working directory
on the SFTP server
pwd
Create a directory on the
remote SFTP server
mkdir
pathname
Remove a directory on the
remote SFTP server
rmdir
pathname
Delete a specified file
delete
remotefile
Optional
Both commands have the
same effect.
remove
remote-file
Query a specified file on the
SFTP server
dir
[
remotefile
] [
localfile
]
Optional
If no file name is provided, all
the files in the current
directory are displayed.
The difference between these
two commands is that the
dir
command can display the file
name, directory as well as file
attributes; while the
Is
command can display only the
file name and directory.
ls
[
remotefile
] [
localfile
]
Download a remote file from
the SFTP server
get
remotefile
[
localfile
]
Optional
Upload a local file to the
remote SFTP server
put
localfile
[
remotefile
]
Rename a file on the remote
server
rename
remote
-
source
remote-dest
Exit SFTP client view and
return to system view
bye
The three commands have the
same effect.
exit
quit
Display the online help about
a specified command
concerning SFTP
help
[
all
|
command-name
]
Optional
Содержание Switch 4210 9-Port
Страница 10: ...Password Control Configuration 556 Displaying Password Control 563 Password Control Configuration Example 564 ...
Страница 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Страница 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Страница 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Страница 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Страница 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Страница 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Страница 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Страница 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Страница 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Страница 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Страница 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Страница 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Страница 340: ...338 CHAPTER 30 CLUSTER ...
Страница 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Страница 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Страница 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Страница 451: ......
Страница 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Страница 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Страница 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...