From: Rob De Langhe (Rob.DeLanghe@telindus.be)
Date: Fri Jun 04 2004 - 11:20:32 EDT
Amazing : almost within the minute, Howard Bampton replied with the solution:
SUN has published since 3 weeks the patches 114356-03 and 113273-06 that fix
this bug.
THX Howard !
Rob
-----Original Message-----
From: sunmanagers-bounces@sunmanagers.org
[mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Rob De Langhe
Sent: Friday, June 04, 2004 4:09 PM
To: sunmanagers@sunmanagers.org
Subject: SUN's "ssh" returns always with exit status 255 ?!
Hi,
on random days, my scripts which invoke commands on remote hosts through an
SSH connection (password-less, via exchange of keys) always return with exit
status 255.
Looking in man-page of "ssh", it says that it is supposed to return the exit
status of the remote command, or 255 if 'an error occured'.
Even if I do something like
ssh $remotehost "cd /tmp ; echo \$? ; pwd ; echo \$? " ; echo $?
I get as result
0
/tmp
0
255 <-- WHY ??
Even so bad that this morning all scripts returned 0 (zero) as exit statuses,
now suddenly 255.
How can I diagnose the real cause of this exit status, or is this a known bug
?
Running Solaris-9, between SF280R and V100's
TIA
Rob
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:48 EDT