SUN's "ssh" returns always with exit status 255 ?!
2007-12-25 3:29:00
SUN has published since 3 weeks the patches 114356-03 and 113273-06 that fix
this bug.
THX Howard !
Rob
-----Original Message-----
From: codeprof-bounces at codeprof.com
[mailto:codeprof-bounces at codeprof.com] On Behalf Of Rob De Langhe
Sent: Friday, June 04, 2004 4:09 PM
To: codeprof at codeprof.com
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
_______________________________________________
codeprof mailing list
codeprof at codeprof.com
http://www.codeprof.com/execute/ask/?codeinfoid=30956
Comments
Got something to say?
You must be logged in to post a comment.

