![]() |
If ssh-socks-proxy is going to be run as a started
task, you need to create a user for running it.
To create a user, for example SSHSP, to run the Tectia
SOCKS Proxy task, do the following steps:
Create a user, for example using RACF:
ADDUSER SSHSP NAME('SSH Tectia SOCKS Proxy') OWNER(IBMUSER) +
NOPASSWORD NOOIDCARD +
OMVS(HOME('/u/SSHSP') PROGRAM( /bin/false ) UID(50042))
Assign the user SSHSP to the started task by defining
the procedure in the STARTED class and entering the user ID
in the STDATA segment, for example:
RDEFINE STARTED SSHSP.* STDATA(USER(SSHSP)GROUP(SYS1)) SETROPTS RACLIST(STARTED) REFRESH
Create the USS home directory /u/SSHSP for the
SSHSP user. Under it, create the .ssh2
subdirectory for storing the remote server host keys (and optionally user
keys and the user-specific ssh-socks-proxy-config.xml
configuration file). Make SSHSP the owner of these
directories:
# mkdir /u/SSHSP # mkdir /u/SSHSP/.ssh2 # chown -R SSHSP /u/SSHSP # chmod 700 /u/SSHSP/.ssh2