diff options
| author | Evgenii Lepikhin <e.lepikhin@corp.mail.ru> | 2021-10-13 00:17:11 +0300 |
|---|---|---|
| committer | Evgenii Lepikhin <e.lepikhin@corp.mail.ru> | 2021-10-13 00:17:11 +0300 |
| commit | 5164fb84ee6a7f85211c9a51ff733c9e01f51c1d (patch) | |
| tree | 1a7247e68bd16c3d4b1c1487cd6f00f51f911dd3 /johnlepikhin/home/ssh.scm | |
| parent | fix: plain-file for shell (diff) | |
| download | johnlepikhin-guix-channel-5164fb84ee6a7f85211c9a51ff733c9e01f51c1d.tar.gz | |
feat: Added SSH HostKeyAlgorithms
Diffstat (limited to 'johnlepikhin/home/ssh.scm')
| -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 2c006dc..e4eeba7 100644 --- a/johnlepikhin/home/ssh.scm +++ b/johnlepikhin/home/ssh.scm @@ -23,6 +23,7 @@ (control-persist home-ssh-host-configuration-control-persist (default #f)) (proxy-jump home-ssh-host-configuration-proxy-jump (default #f)) (pubkey-accepted-key-types home-ssh-host-configuration-pubkey-accepted-key-types (default #f)) + (host-key-algorithms home-ssh-host-configuration-host-key-algorithms (default #f)) (comment home-ssh-host-configuration-comment (default #f))) (define (serialize-home-ssh-host-configuration val) @@ -50,6 +51,8 @@ (format #f " ProxyJump ~a\n" (home-ssh-host-configuration-proxy-jump val)) "") (if (home-ssh-host-configuration-pubkey-accepted-key-types val) (format #f " PubkeyAcceptedKeyTypes ~a\n" (home-ssh-host-configuration-pubkey-accepted-key-types val)) "") + (if (home-ssh-host-configuration-host-key-algorithms val) + (format #f " HostKeyAlgorithms ~a\n" (home-ssh-host-configuration-host-key-algorithms val)) "") "\n")) (define-record-type* <home-ssh-configuration> |
