Your browser does not allow storing cookies. We recommend enabling them.

SSH

Handling Prematurely Ending File Transfers

By default, when a file transfer to Tectia Server for IBM z/OS ends prematurely, the allocated data set is kept.

To change this behavior, you can specify the --attribute=conddisp option with sft-server-g3 in the sshd2_config file:

subsystem-sftp   /opt/tectia/libexec/sft-server-g3 --attribute=conddisp:DELETE

The conddisp option can take values CATLG, UNCATLG, KEEP, and DELETE, and they have the following effects, depending on the file type (MVS or HFS):

  • CATLG (default): an MVS data set is retained and its name is cataloged. An HFS file is retained.

  • UNCATLG: the name of an MVS data set is removed from the catalog but the data set is retained. An HFS file is retained.

  • KEEP: an MVS data set is retained (if cataloged it will be still cataloged, if uncataloged it will be still uncataloged). An HFS file is retained.

  • DELETE: the name of an MVS data set is removed from the catalog and the space allocated for the data set is released. An HFS file is deleted.


 

 
PrivX
 

 

 
What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.



    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH



    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now