AuthorizedKeysCommand size issue?

Christian Kandeler christian.kandeler at
Thu Apr 17 17:08:35 EST 2014

On 04/16/2014 12:23 PM, Dag-Erling Smørgrav wrote:
> Eitan Adler <lists at> writes:
>> Dag-Erling Smørgrav <des at> writes:
>>> What OS are you on?  It is impossible for cat(1) on either Linux
>>> (GNU coreutils) or BSD to return anything other than 0 or 1.
>> It can when killed by a signal:
> Does the shell report signal + 128 when a process is killed by a signal?
> That's unfortunate, as 141 is a perfectly valid exit code (0 - 255).
> But if that is the case, 141 is SIGPIPE.

Isn't that behavior pretty much required by POSIX? "The exit status of a 
command that terminated because it received a signal shall be reported 
as greater than 128."


More information about the openssh-unix-dev mailing list