diff options
| author | Evgenii Lepikhin <e.lepihin@postgrespro.ru> | 2023-08-07 19:34:33 +0300 |
|---|---|---|
| committer | Evgenii Lepikhin <e.lepihin@postgrespro.ru> | 2023-08-07 19:34:33 +0300 |
| commit | 37293a60b9ff522d04855ea0e3ed9d9bff6f4112 (patch) | |
| tree | 5e76a0cc714848dd27f298588064c716695a5378 | |
| parent | feat: Allow multiple identity files (diff) | |
| download | johnlepikhin-guix-channel-37293a60b9ff522d04855ea0e3ed9d9bff6f4112.tar.gz | |
feat: Added SSH option ForwardAgent
| -rw-r--r-- | johnlepikhin/home/ssh.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/johnlepikhin/home/ssh.scm b/johnlepikhin/home/ssh.scm index 37c3f15..4144351 100644 --- a/johnlepikhin/home/ssh.scm +++ b/johnlepikhin/home/ssh.scm @@ -45,6 +45,7 @@ (comment home-ssh-host-configuration-comment (default #f)) (identity-file home-ssh-host-configuration-identity-file (default (list))) (add-ssh-keys-to-agent home-ssh-host-configuration-add-ssh-keys-to-agent (default #f)) + (forward-agent home-ssh-host-configuration-forward-agent (default #f)) ) (define (serialize-home-ssh-host-configuration val) @@ -80,6 +81,8 @@ (home-ssh-host-configuration-identity-file val))) (if (home-ssh-host-configuration-add-ssh-keys-to-agent val) " AddKeysToAgent yes\n" "") + (if (home-ssh-host-configuration-forward-agent val) + " ForwardAgent yes\n" "") "\n")) (define-record-type* <home-ssh-configuration> |
