Sujet : Re: clés ssh multiples
De : nicolas$george (at) *nospam* salle-s.org (Nicolas George)
Groupes : fr.comp.os.linux.configurationDate : 24. Aug 2023, 17:40:24
Autres entêtes
Organisation : Guest of ProXad - France
Message-ID : <64e787f8$0$2975$426a74cc@news.free.fr>
References : 1
User-Agent : Flrn (0.9.20070704)
Thomas , dans le message <
uc7vun$3hh8m$1@dont-email.me>, a écrit :
quand ssh a besoin de ces clés, il affiche :
Enter passphrase for key '...':
dans le terminal, au lieu de faire une invite dans l'interface graphique.
Du coup, ça n'est pris en charge par aucun mécanisme de gestion de mdp ! 🙁
AddKeysToAgent
Specifies whether keys should be automatically added to a run‐
ning ssh‐agent(1). If this option is set to yes and a key is
loaded from a file, the key and its passphrase are added to the
agent with the default lifetime, as if by ssh‐add(1). If this
option is set to ask, ssh(1) will require confirmation using
the SSH_ASKPASS program before adding a key (see ssh‐add(1) for
details). If this option is set to confirm, each use of the
key must be confirmed, as if the -c option was specified to
ssh‐add(1). If this option is set to no, no keys are added to
the agent. Alternately, this option may be specified as a time
interval using the format described in the “TIME FORMATS” sec‐
tion of sshd_config(5) to specify the key’s lifetime in
ssh‐agent(1), after which it will automatically be removed.
The argument must be no (the default), yes, confirm (optionally
followed by a time interval), ask or a time interval.