IBM Support

How to configure SSH for Data Server Manager

Question & Answer


Question

How do I configure SSH to use it with Data Server Manager?

Answer

SSH (Secure Shell Services) must be enabled in order for Data Server Manager to perform database discovery and other tasks like job execustion. Typically, this service is provided by IBM SSH or OpenSSH.

If SSH is not started or not configured correctly, you might get the following error message:


    java.net.ConnectException:The following error was reported when connecting with SSH "Session.connect: java.net.SocketException: Connection reset". Potential errors: 1- SSH is neither installed nor running on the database server. 2- The current user "db2inst1" has no authority to SSH in the database server.

Use the following steps to enable and configure SSH on each database server you are managing or monitoring with Data Server Manager.
Verify that SSH is started
    · In AIX or Linux:
      Open a terminal window and type ps –ef | grep ssh
    · In Windows: Control Panel ->Administrative Tools ->Services and start OpenSSH or IBM SSH.

If SSH is not running, verify that password authentication is enabled as follows:
Enable SSH Password Authentication
    · in AIX or Linux:
      1. Sudo to root
      2. Edit /etc/ssh/sshd_config
      3. Find the line that says PasswordAuthentication no and change it to yes
      4. Restart SSH service by issuing /etc/init.d/sshd restart
    · In Windows:
      1. Edit C:\ProgramData\IBM\ibmssh\etc\ssh\sshd.config as described for AIX/Linux.
      2. Stop and restart the SSH service:
      Control Panel > Administrative Tools > Services

[{"Product":{"code":"SS5Q8A","label":"IBM Data Server Manager"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"},{"code":"PF002","label":"AIX"}],"Version":"2.1.3;2.1.2;2.1.1;2.1;1.1.2;1.1.1;1.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

More support for:
IBM Data Server Manager

Software version:
2.1.3, 2.1.2, 2.1.1, 2.1, 1.1.2, 1.1.1, 1.1

Operating system(s):
Linux, Windows, AIX

Document number:
530355

Modified date:
16 June 2018

UID

swg21960639

Manage My Notification Subscriptions