Start of change

Starting the SSH server

You must start the Secure Shell (SSH) server before you can transfer the first public key for the SSH server.

Before you begin

Ensure that the SSH server is configured. For more information, see Configuring the SSH server.

Procedure

All steps, except for step 3, are one-time startup steps.

  1. Deploy the OpenAPI descriptor for the SSH server:
    ZMDES DEPLOY FILE-tpfsshd.openapi.json
  2. Deploy the JAM descriptor for the SSH server:
    ZMDES DEPLOY FILE-tpfsshd.jam.xml
  3. Generate the public-private key pair for the SSH server:
    ZSSHD SERVER KEYGEN
    This step is required only for the initial SSH server startup, but you can repeat this step anytime when you want to change the public-private key pair for the SSH server. For more information, see Server key pair maintenance.
  4. Start the SSH server JAM:
    ZJAMC START N-tpfsshd
  5. Add the SSH server to the Internet Daemon configuration file (IDCF):
    ZINET ADD S-SSH PGM-CJM6 MODEL-AOA2 PORT-portNum P-TCP
    Where:
    portNum
    Specifies the port number that you want to use for the server. Port 22 is the well-known port for the SSH server, but you can specify any valid and unused port number.
  6. Start the SSH InetD:
    ZINET START S-SSH

What to do next

Securely transfer the first public key for the SSH server to the z/TPF system.
End of change