Displaying 2 results from an estimated 2 matches for "setab".
Did you mean:
seta
2025 Jan 09
2
[PATCH] ssh-add: support parser-friendly operation
On 2025-01-09 15:27, Corey Hickey wrote:
> From: Corey Hickey <chickey at tagged.com>
>
> When ssh-add is used in a script like:
>
> if ! KEY_LISTING=$(ssh-add -l 2>&1) ; then
> echo "SSH agent error" >&2
> exit 2
> fi
>
> ...the operation fails when there is an agent but there are no keys in
> the agent.
2025 Jan 10
1
[PATCH] ssh-add: support parser-friendly operation
...o forwarded agent. Someone wants to learn many passwords by heart ...
> /usr/bin/ssh "$@"
> elif ssh-add -l >/dev/null 2>&1 ; then
> /usr/bin/ssh "$@"
> else
> echo "`tput setaf 0``tput setab 1` Please (re)load your keypairs into the agent first `tput sgr0`"
> fi
> }
Kind regards,
--
Jochen Bern
Systemingenieur
Binect GmbH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4336 bytes...