Thank you for your response.
I have some additional questions
Due to policy constraints, we cannot change the SSH port for the DB2 server.
The server information is as follows:
* db2 server info
- ip : 192.168.1.70
- ssh port : 2022
To connect to the server via SSH, the SSH configuration on the idmc server has been set as follows:
cat ~/.ssh/config
Host 192.168.1.70
hostname 192.168.1.70
user db2inst1
port 2022
However, when testing the CLP with SSH from the idmc server as shown below, an error occurs.
The log file 'runsql.0' on the idmc server is as follows:
CLPRunner::connectToDifferentHost: IOException in run() of DB2CLPRunner. -- Exception is: Failed to connect to SSH server 192.168.1.70 with username db2inst1.
It seems that the issue is arising from attempting to connect to the server on port 22.
If changing the DB2 server's SSH port to 22 is not possible,
does this mean that CLP with SSH cannot be used from the idmc server?
------------------------------
JH Kim
------------------------------
Original Message:
Sent: Mon February 19, 2024 09:10 AM
From: Cintia Ogura
Subject: [IDMC] remote ssh port setting in idmc
Hello JH,
Usually the SSH configuration is in the ssh_config file, not in DMC.
Here is a link that might help you:
https://www.ibm.com/docs/en/db2-data-mgr-console/3.1.x?topic=securing-communicating-securely-remote-servers
I hope that helps!
------------------------------
Cintia Ogura
------------------------------