From b60e35d216ac9b088f8fd91fcbc97c6195c08f30 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 1 Jun 2021 21:48:45 +0100 Subject: [PATCH] sshkeys: Fix formatting of ssh authorized_keys files Signed-off-by: Ian Jackson --- src/sshkeys.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sshkeys.rs b/src/sshkeys.rs index c1e07314..ebff7b91 100644 --- a/src/sshkeys.rs +++ b/src/sshkeys.rs @@ -449,8 +449,8 @@ impl Global { for (id, key) in &self.keys { let fp = match key.fp { Some(Ok(ref fp)) => fp, _ => continue }; if key.refcount == 0 { continue } - writeln!(w, r#"{},command="{} mgmtchannel-proxy --restrict-ssh {}:{}" \ - {} {}:{}"#, + writeln!(w, + r#"{},command="{} mgmtchannel-proxy --restrict-ssh {}:{}" {} {}:{}"#, RESTRICTIONS, &config().ssh_proxy_bin, id, key.nonce, &key.data, -- 2.30.2