diff --git a/groups/os/linux.py b/groups/os/linux.py index 21f82a3..1f48308 100644 --- a/groups/os/linux.py +++ b/groups/os/linux.py @@ -51,9 +51,16 @@ 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILMVroYmswD4tLk6iH+2tvQiyaMe42yfONDsPDIdFv6I ckn', }, }, + # agent sessions (ssh-grant): the key only works while a grant is active + 'mwiegand-agent': { + 'authorized_keys': { + 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDeU8FKtjN1+VjhxKZTzyvJ51GzPevrScXgou08hFmjb mwiegand-agent', + }, + }, }, 'sudoers': { 'ckn': {'ALL'}, + 'mwiegand-agent': {'ALL'}, }, }, }