summaryrefslogtreecommitdiff
path: root/johnlepikhin/home/ssh.scm
diff options
context:
space:
mode:
Diffstat (limited to 'johnlepikhin/home/ssh.scm')
-rw-r--r--johnlepikhin/home/ssh.scm3
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>