Cisco Cisco Packet Data Interworking Function (PDIF)

Page de 9109
  SSH Configuration Mode Commands 
subsystem  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
8787 
 
/hd-raid/records/cdr 
 
/flash 
mode { read-only | readwrite }
 
Specifies the SFTP transfer mode. Options include: 
 
read-only 
 
read-write 
Usage 
Use this command to enable or disable file transfers using SFTP over an ssh v2 tunnel. 
You can also create multiple SFTP subsystems with an associated pathname and access privilege (read-only 
or read-write). When creating a local user, an administrator can assign the user an SFTP subsystem. If the 
user is not an administrator, he or she will only be able to access the subsystem with read-only privilege. The 
SFTP subsystem directory becomes the SFTP user's root directory with associated access privileges. 
Also use this command to enable or disable access to the CLI over an SSH connection. 
Example
 
The following command enables SFTP for the current context: 
subsystem sftp 
The following command disables access to the CLI through an SSH session for the current context: 
no subsystem cli 
The following command creates an SFTP subsystem for CDR records with read-write privileges: 
subsystem sftp name cdr-rw-server root-dir /hd-raid/records/cdr mode 
readwrite