964
C
56: SSH T
HAPTER
ERMINAL
exit
get
S
C
C
ERVICE
ONFIGURATION
OMMANDS
This command has the same functionality as the ls command.
Example
# View directory flash:/
sftp-client> dir flash:/
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
Syntax
exit
View
SFTP Client view
Parameter
None
Description
Use the exit command to terminate the connection with the remote SFTP server
and return to the user view.
This command has the same functionality as the bye and quit commands.
Example
# Terminate the connection with the remote SFTP server.
sftp-client> exit
<SW8800>
Syntax
get remote-file [ local-file ]
View
SFTP Client view
Parameter
remote-file: Name of a file on the remote SFTP server.
local-file: Name of a local file.
Description
Use the get command to download a file from the remote server and save it
locally.
By default, if no local file name is specified, it is assumed that the local file has the
same name as the file on the SFTP server.
nogroup
1759 Aug 23 06:52 vrpcfg.cfg
nogroup
225 Aug 24 08:01 pubkey2
nogroup
283 Aug 24 07:39 pubkey1
nogroup
225 Sep 28 08:28 pub1
nogroup
0 Sep 28 08:24 new1
nogroup
0 Sep 28 08:18 new2
nogroup
225 Sep 28 08:30 pub2