[PATCH v2] ssh-add: support external parsing of key listing

Steffen Nurpmeso steffen at sdaoden.eu
Sat Jan 11 06:33:00 AEDT 2025


Corey Hickey wrote in
 <38d76f8e-0744-4bc5-b6e1-db7197e19ad7 at fatooh.org>:
 |On 2025-01-10 09:57, Jim Knoble wrote:
 |>> On Jan 9, 2025, at 19:14, Corey Hickey <bugfood-ml at fatooh.org> wrote:
 |>>
 |>> To address this, modify ssh-add to:
 |>> * [...]
 |>> * exit with a status of 0 instead of 1
 |> 
 |> When Damien wrote:
 |> 
 |>> Adding a new exit status for the
 |>> no-keys-in-agent case would be
 |>> acceptable too I think.
 |> 
 |> I interpreted that as "make ssh-add exit with status 2 or 3 or 99, \
 |> for example, as opposed to 1".

Fyi there is the >35 years old BSD sysexits.h that unfortunately
did not become standardized, but is widely available nonetheless.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
|
|In Fall and Winter, feel "The Dropbear Bard"s pint(er).
|
|The banded bear
|without a care,
|Banged on himself for e'er and e'er
|
|Farewell, dear collar bear


More information about the openssh-unix-dev mailing list