diff options
author | Saku Laesvuori <saku@laesvuori.fi> | 2023-04-20 14:30:24 +0300 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-04-21 17:09:50 +0200 |
commit | 9043e23196ba28590ee272fb5f71f30a4ab73385 (patch) | |
tree | 29b396ceb716a3b3baf41f88750e31dd431f738a /gnu/packages | |
parent | fb17c47efe7a9b8b7a5cf86b357dc89dca2bc7bf (diff) | |
download | guix-9043e23196ba28590ee272fb5f71f30a4ab73385.tar guix-9043e23196ba28590ee272fb5f71f30a4ab73385.tar.gz |
home: services: openssh: Add configuration option for jump proxies
Add a new 'proxy' field to openssh-host to allow ProxyCommand or
ProxyJump, but not both, to be configured. Configuring both would cause
the serialization order to determine which one is used. Deprecate the
'proxy-command' field because the 'proxy' field replaces it.
* gnu/home/services/ssh.scm (proxy-jump->string,
proxy-command-or-jump-list?, serialize-proxy-command-or-jump-list,
sanitize-proxy-command): New procedure.
(proxy-jump, proxy-command): New record type.
(openssh-host)[proxy-command]: Mark field as deprecated because OpenSSH
can't have ProxyCommand and ProxyJump configured at the same time.
* doc/guix.texi (Secure Shell): Update to match the changes to the
service.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions