3com 8807 Reference Guide

Page of 1099
SFTP Server Configuration Commands
961
sftp: Configures the default service type as SFTP.
stelnet: Configures the default service type as Stelnet.
sftp-directory directory: Configures the default directory an SFTP user logs in to.
Description
Use the ssh service-type default command to configure the default service type 
and the default directory for SFTP users.
Use the undo ssh service-type default command to cancel the default service 
type and the default directory for SFTP users.
The default service type is NULL and the default directory for SFTP users is NULL.
Example
# Configure the default service type as SFTP and specify cf: as the default directory.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] ssh service-type default sftp sftp-directory cf: 
ssh user service-type
Syntax
ssh service-type default { all [sftp-directory directory ] | sftp [ sftp-directory 
directory ] | stelnet }
undo ssh service-type default
View
System view
Parameter
all: Specifies that the default service type can be either Stelnet or SFTP.
sftp: Configures the default service type as SFTP.
stelnet: Configures the default service type as Stelnet.
sftp-directory directory: Configures the default directory an SFTP user logs in to.
Description
Use the ssh service-type default command to configure the default service type 
and the default directory for SFTP users.
Use the undo ssh service-type default command to cancel the default service 
type and the default directory for SFTP users.
The default service type is NULL and the default directory for SFTP users is NULL.
Example
# Configure the default service type as SFTP and specifies cf: as the default 
directory.