Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Set up ControlChannel may causes the connection to remote host hangs up

The Control channel is required because Open SSH server does not support sending signals to remote processes running on the SSH connection.
Therefore, another bash session is used to retrieve the PID of each process started by Remote Tools and also used to run the 'kill' command in order to send signals when needed.
Is it possible to implement something similar with ksh? For a long term solution, it seems that the Remote Tools connection parameters should also have an 'environment' parameter that describe which remote interpreter is being used, and which commands and features are available.
Or is it possible to install bash into a AIX machine?

Best regards,
Daniel Felix Ferber

Hong Chang Lin schrieb:

Hi,

In codes of PTP 2.1 final release, for creating a connection to remote host, a ControlChannel is set up. In which, a exec chanel with command "/bin/bash" is created.
This code logic locates in line 68 in class ControlChannel

For AIX system, the default shell is ksh, no bash is installed. So when connecting to a remote AIX, the command "/bin/bash" is failed and no terminal path is allocated to the control panel, then it falls in a end-less loop. This code is in line 99 in class ControlChannel

This causes the UI hangs up there, and user get nothing indication.

Is it possible to fix this problem?



Regards,
Hongchang Lin
------


_______________________________________________ ptp-dev mailing list ptp-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top