IBM Support

Debugging through a Secure Shell tunnel

Troubleshooting


Problem

The IBM Rational Developer for Power Systems Software (RDp) client (or other IBM Debugger client) is installed on a workstation that is behind a firewall, on a separate subnet, or otherwise unreachable from the remote server. This technote explains how to debug through an ssh tunnel.

Symptom

When you try to start a debug session, the session gets added to the Debug view, but it appears to be "hung" and you cannot debug your program:
Debug view: "Platform: Unknows  Connection: localhost:8001"

Or, when you try to start a debug session from a terminal connection, after a period of time, you get this message:


$ /usr/idebug/engine/bin/irmtdbgc -qhost=10.0.2.15:8001 smp.out



IBM Debugger for AIX
Version 11.1.0 (20100326-1114) - Licenced Material - Property of IBM
(c) Copyright IBM Corp 1991, 2010 - All Rights Reserved
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADB Schedule Contract with IBM Corp.

Initializing communication:
The TCP/IP connection to host 10.0.2.15 timed out.

$

[{"Product":{"code":"SS4QVT","label":"Rational Developer for Power Systems Software"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Compiled Language Debugger","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.6","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;7.6;7.6.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Debugger\/Performance Analyzer","Platform":[{"code":"PF002","label":"AIX"}],"Version":"8.0;9.0;10.1;11.1","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}},{"Product":{"code":"SS6SGM","label":"COBOL for AIX"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Debugger","Platform":[{"code":"PF002","label":"AIX"}],"Version":"3.1;4.1","Edition":"","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
27 October 2020

UID

swg21438892