Command Manual – SSH
H3C S7500E Series Ethernet Switches Chapter 1 SSH Configuration Commands
1-32
With the remote-path not specified, the command displays the file and folder
information of the current working directory.
This command functions as the ls command.
Examples
# Display in a list form detailed file and folder information under the current working
directory.
sftp-client> dir
-rwxrwxrwx 1 noone nogroup 1759 Aug 23 06:52 config.cfg
-rwxrwxrwx 1 noone nogroup 225 Aug 24 08:01 pubkey2
-rwxrwxrwx 1 noone nogroup 283 Aug 24 07:39 pubkey1
-rwxrwxrwx 1 noone nogroup 225 Sep 28 08:28 pub1
drwxrwxrwx 1 noone nogroup 0 Sep 28 08:24 new1
drwxrwxrwx 1 noone nogroup 0 Sep 28 08:18 new2
-rwxrwxrwx 1 noone nogroup 225 Sep 28 08:30 pub2
1.2.6 exit
Syntax
exit
View
SFTP client view
Parameters
None
Description
Use the exit command to terminate the connection with a remote SFTP server and
return to system view.
This command functions as the bye and quit commands.
Examples
# Terminate the connection with the remote SFTP server.
sftp-client> exit
Bye
<Sysname>