How can I set the SFTP home directory of users to be in MVS?
asked Jan 04 '11 at 14:42
SSH KB ♦
The environment variable SSH_SFTP_HOME_MVS can be used to control where the user lands when connecting with an sftp client to Tectia Server on z/OS.
If the environment variable is omitted or its value is NO, the user's USS home directory is used as the file transfer home. If the value of the is environment variable YES, the file transfer home location will be in MVS.
The variable can be set in two places: To take it into use for all users, it can be put in the /etc/environment file. To take it into use for a single user, it needs to be in the $HOME/.ssh2/environment file under the user's home directory.
For example, user
The landing destination on MVS side should be the user's prefix. However, in versions 6.0.1 to 6.0.5 of the Tectia Server for IBM z/OS there is a known issue that the landing directory is the MVS master catalog, and the user needs to cd to the prefix by using "cd /_" command.
answered Jan 04 '11 at 14:44
SSH KB ♦