2-4
To do…
Use the command…
Remarks
Return to the upper-level
directory
cdup
Optional
Display the current working
directory of the remote SFTP
server
pwd
Optional
dir
[
-a
|
-l
] [
remote-path
]
Display files under a specified
directory
ls
[
-a
|
-l
] [
remote-path
]
Optional
The
dir
command functions as
the
ls
command.
Change the name of a specified
directory on the SFTP server
rename
oldname
newname
Optional
Create a new directory on the
remote SFTP server
mkdir remote-path
Optional
Delete a directory from the
SFTP server
rmdir remote-path
&<1-10>
Optional
Working with SFTP Files
SFTP file operations include:
z
Changing the name of a file
z
Downloading a file
z
Uploading a file
z
Displaying a list of the files
z
Deleting a file
Follow these steps to work with SFTP files:
To do…
Use the command…
Remarks
Enter SFTP client view
sftp
[
ipv6
]
server
[
port-number
]
[
identity-key
{
dsa
|
rsa
} |
prefer-ctos-cipher
{
3des
|
aes128
|
des
} |
prefer-ctos-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} |
prefer-kex
{
dh-group-exchange
|
dh-group1
|
dh-group14
} |
prefer-stoc-cipher
{
3des
|
aes128
|
des
} |
prefer-stoc-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} ] *
Required
Execute the command in user
view.
Change the name of a specified
file or directory on the SFTP
server
rename
old-name new-name
Optional
Download a file from the
remote server and save it
locally
get
remote-file
[
local-file
] Optional
Upload a local file to the remote
SFTP server
put
local-file
[
remote-file
]
Optional
Summary of Contents for S7906E - Switch
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Page 598: ...ii...
Page 1757: ...4 9...
Page 1770: ...6 4...
Page 2017: ...2 11 Figure 2 3 SFTP client interface...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...