SSH Reference Manual
Parameter Syntax 
SFTPEXCLUSIONMODEREAD <exclusion> 
Arguments 
<exclusion> 
The file open exclusion mode for read operations. Valid values are SHARED, EXCLUSIVE and PROTECTED 
Considerations 
•  If a file is open for write by anther process (shared or protected) and this file is to be read by SFTP or 
SFTPSERV, then reading this file will only fail if parameter is set to a different value than SHARED. It can be 
required to force a failure in this scenario to ensure the process writing the file closes the file before the file 
transfer. 
•  If a get command is executed by a sftp client on the NonStop server, then the parameter must be set in the 
environment of the sftp client (as PARAM for SFTP running in the Guardian environment or as environment 
variable for SFTPOSS running in the OSS environment). 
Default 
If omitted, value SHARED will be used, which was the value used prior to adding parameter 
SFTPEXCLUSIONMODEREAD. 
Example 
SFTPEXCLUSIONMODEREAD EXCLUSIVE 
SFTPIDLETIMEOUT 
Use this parameter to control how long SFTPSERV keeps running without any SFTP protocol traffic before terminating 
itself. 
Parameter Syntax 
SFTPIDLETIMEOUT <seconds> 
Arguments 
 <seconds> 
The time in seconds the SFTPSERV waits after the last SFTP command before it stops serving the client. 
Considerations 
•  The SFTP client will not be able to issue further SFTP commands. 
Default 
If omitted, there is no SFTP idle timeout. The SFTPSERV will be running until the STP client ends the session. 
Example 
SFTPIDLETIMEOUT 180 
SFTPMAXEXTENTS 
Use this parameter to specify the MAXEXTENTS value for files that are created on the NonStop system. 
Parameter Syntax 
SFTPMAXEXTENTS maxextents 
112 • Configuring and Running SSH2  HP NonStop SSH Reference Manual 










