IBM Support

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



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:



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":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CKoAAM","label":"Communications-\u003ESFTP and SSH or Secure Shell"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0;7.2.0;7.3.0;7.4.0;7.5.0;and future releases"}]

Historical Number


Document Information

Modified date:
03 June 2024