IBM Support

Starting the OpenSSH Server (SSHD) on IBM i 6.1 and Above

Troubleshooting


Problem

This document provides instructions for starting the OpenSSH server on IBM i 6.1 machines.

Resolving The Problem

Starting with release IBM i 6.1 of the operating system, SSHD is part of the TCP servers. You should use the CL commands below to start and end the SSHD on V6R1 machines:

STRTCPSVR SERVER(*SSHD)

ENDTCPSVR SERVER(*SSHD)

There is no need to manually generate the host keys required to start the SSHD like on previous releases. When the STRTCPSVR command is executed, it will check to see if the host keys exist in the IFS path '/QOpenSys/QIBM/UserData/SC1/OpenSSH/openssh_version/etc'. If the host keys do not exist on the system, they will be created automatically underneath the covers before the service is actually started. The SSHD job QP0ZSPWP will run the QUSRWRK SBS under the QSECOFR user profile.

Note: The OpenSSH implementations are an upgrade from the earlier version 3.5p1 used in previous releases of the operating system. In the IFS path above, SSHD will look for the host keys in the appropriate openssh_version path; for example, openssh-3.8.1p1, openssh-4.7p1, or openssh-5.8p1.

[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Historical Number

526122011

Document Information

Modified date:
28 November 2021

UID

nas8N1012910