From: Daniel Felix Ferber <danielsforummail@te...> - 2006-11-01 18:10:36
I have experienced problems in opening several concurrent exec channels with
In my application, after connecting to the remote host, I create several
concurrent exec channels, to run different programs on the remote host ant
the same time and through the same connection. Some of the exec channels
require pty, some do not.
The advantage is that creating an exec channel is much faster then opening a
I noticed that after I have created the 8th exec channel with pty, any further
attempt to run an application on new exec channel fails silently and gives
return value 1. After I have closed one of the 8 channels with pty, I can
create new exec channels again.
Notice that the computer has plenty of free ptys available, the limitantion is
caused by the ssh connection.
Did someone notice this problem?
This was noticed on the majority of openssh servers, but some openssh servers
do not have this limitation. But the is no opetion in openssh server to limit
the number of exec channels, nor the number of ptys.
Daniel Felix Ferber
Get latest updates about Open Source Projects, Conferences and News.