IBM Support

How to setup the IBM i SSH daemon to autostart with TCP/IP

How To


Summary

This document provides some alternative methods of configuring the SSH daemon (*SSHD) on the IBM i to start automatically when TCP/IP is started

Steps

There are a few alternatives that can be used.  You need to use just one of the following methods.  They are listed in no particular order.
  1. Via IBM Navigator for i, expand Network --> TCP/IP Configuration, select TCP/IP Configuration Properties, select Servers to Start and check the box for SSHD
  2. SQL Method
    1. Issue the STRSQL command.
    2. Select * from qusrsys/QATOCSTART (shows current Auto Start settings) ; F12 out
    3. Update qusrsys/qatocstart set AUTOSTART = '*YES' where server = '*SSHD'
  3. UPDDTA Method
    1. ​​​​​​​Issue the UPDDTA FILE(QUSRSYS/QATOCSTART) command.
    2. Specify *SSHD in capital letters for Server:, then press <Enter>
    3. Change the Auto Start parameter to *YES, then F11 to Change
    4. F3 to exit
    5. Press <Enter> on the End Data Entry screen
These methods can be used to set the auto start setting for additional TCP/IP servers by specifying the correct TCP/IP id (i.e., *FTP, *TELNET, *SNTP, etc.) 

Document Location

Worldwide

[{"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":"All Versions"}]

Document Information

Modified date:
23 September 2024

UID

ibm11375275