programs/ssh: use 'toKeyValue' for 'extraOptions'

A first step towards refactoring the module.

Unfortunately the config is not consistent in using comma-separated
values or repeated keys for lists, since the user can always add commas
by themselves, we should default to repeated keys in the generator.
This commit is contained in:
Bruno BELANYI 2025-12-03 14:25:11 +00:00 committed by Austin Horstman
parent 43173abcb4
commit 28741978a3
7 changed files with 19 additions and 1 deletions

View file

@ -1,7 +1,9 @@
Host dynamicBindAddressWithPort
DynamicForward [127.0.0.1]:3000
Host dynamicBindPathNoPort
DynamicForward /run/user/1000/gnupg/S.gpg-agent.extra