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

SSH

Creating the SSHSP User

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:

  1. 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))
    
  2. 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
    
  3. Enter the following commands:

    # mkdir /u/SSHSP             1
    # mkdir /u/SSHSP/.ssh2       2 
    # chown -R SSHSP /u/SSHSP    3
    # chmod 700 /u/SSHSP/.ssh2   4
    1

    Create the USS home directory /u/SSHSP for the SSHSP user.

    2

    Under the home directory, 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).

    3

    Make SSHSP the owner of these directories.

    4

    Give only SSHSP full (read, write and execute) permissions to the .ssh2 subdirectory.


 

 
Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more