<html>
(Mr. <font size=3>Markus Friedl asked me to mail to this address)<br>
</font>Hello there.<br>
My problem is as follows:<br>
I am using OpenSSH 2.5.1 (Can't upgrade for now, explain will be given
later...) on AIX 4.1.5 (Can't upgrade as well...) <br>
I have written a distribution script that distributes tgz files along
with their installation script, the distribution script simply scp the
file and then reconnects and invokes the install script.<br>
While I am loading the distributing machine the returned code from a
remotely invoked script SOMETIMES (happens randomly) returns me -1 (255)
instead of the real returned code.(When I say &quot;loading&quot; I mean
approx 9 scp running simultaneously and approx 9 ssh install sessions
while doing that...)<br>
<br>
I can't upgrade for now as I am working for the Israeli Air Force in a
top-secret facility, it takes quite a while to insert a code from the
Internet (Intensive code checking...)<br>
<br>
I can't even give you the debug information... but, this is very
simple.<br>
by checking two outputs I have ( using -v -v -v) while 1 of them was
alright and the 2nd wasn't, the ONLY difference is that the
&quot;bad&quot; session doesn't have this line:<br>
debug: client_input_channel_req: channel 0 rtype exit-status reply 
0<br>
I am not a programmer, but it seems as if the sshd doesn't return the
status reply at all, or at least- the client due to the extreme system
load is not &quot;picking&quot; this signal...<br>
<br>
Again: using ssh1 (the commercial version of ssh1) it DIDN'T happen (the
system was loaded even more sometimes...)<br>
<br>
sending a debug information of the server could be a bit problematic as
it means I have to run it on all machines (a few hundreds...) - still, it
seems like a bug that accures due to a high system load... so the sshd is
probobly okay (I connected them one by one doing only exit 0... they all
came out fine... doing exit 0 while distributing got screwd
sometimes...)<br>
<br>
The sample Mr. <font size=3>Markus Friedl gave me (sh -c 'for i in 1 2 3
4 5 6; do ssh localhost exit $i; echo $?; done') is irrelevant as it
works fine for me as well (as I said, when I am connecting one by one -
everything works fine, but when I am opening approx 10 ssh connections
while 10 scp are killing the system/cpu it does happen).<br>
<br>
Please tell me what you think...<br>
Thank you very very much!<br>
<br>
<br>
</font><x-sigsep><p></x-sigsep>
Regards<br>
<br>
Gil Disatnik<br>
UNIX system administrator<br>
<br>
GibsonLP@EFnet<br>
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_<br>
&quot;Windows NT has detected mouse movement, you MUST restart <br>
your computer before the new settings will take effect, [ OK 
]&quot;<br>
--------------------------------------------------------------------<br>
Windows is a 32 bit patch to a 16 bit GUI based on a 8 bit operating
<br>
system, written for a 4 bit processor by a 2 bit company which can <br>
not stand 1 bit of competition.<br>
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-</html>