I'm running z/OS in a parallel sysplex using a shared file system. I want to be able to run the Co:Z sftp client on any image but just want sshd on a couple of the images.
I'm going to assume that each image's /etc needs a ssh sub-directory populated the same way. Could I then just edit /etc/ssh/sshd.sh on certain images to prevent sshd from initializing correctly on that image if, for example, an operator attemps to start the SSHD proc on the wrong image? I'm open to suggestions
That seems like a reasonable approach. As you suggest, you will need an /etc/ssh directory on all images, since the ssh command (which is used by the sftp or cozsftp client) needs some files, such as /etc/ssh/ssh_config.