SSH Tectia Server for IBM z/OS is always installed to /usr/lpp/ssh2.
To put the product in a separate HFS or zFS file system, make an empty ssh2 directory under /usr/lpp:
> cd /usr/lpp
> mkdir ssh2
Create the file system and mount it on /usr/lpp/ssh2. You can use the CREAHFS and MOUNHFS examples from SAMPLIB (shown below). The sample files are for HFS but zFS can also be used. Note that mounting the file system causes an operator query that must be responded to. You may want to copy the mount command into the BPXPRMxx member in PARMLIB so that the file system is mounted each time you IPL the system.
//CREAHFS EXEC PGM=IEFBR14
//* Allocate a dataset for a USS file system. The space allocated, 250
//* cylinders, corresponds to about 200 MB on a 3390 device.
//HFS DD DSN=SSZ.SRVR550.HFS,
//* REPLY nn,dddd ON THE MACHINE CONSOLE TO ALLOW MOUNT
//MOUNT EXEC PGM=IKJEFT1A,DYNAMNBR=75,TIME=100,REGION=6M
//* Mount the file system on an existing, empty directory
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTERM DD DUMMY
//SYSTSIN DD *
MOUNT FILESYSTEM('SSZ.SRVR550.HFS') +
Setting Permissions to /usr/lpp/ssh2
Ensure that the /usr/lpp/ssh2 directory is writable and that it is owned by the SSHD2 user: