chiark / gitweb /
sshkeys: Fix formatting of ssh authorized_keys files
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 1 Jun 2021 20:48:45 +0000 (21:48 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 1 Jun 2021 20:57:43 +0000 (21:57 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/sshkeys.rs

index c1e07314b0b4f6ef09429d59d66b31a1df0e5e91..ebff7b91e0f55acbd6a68a5b63eeedbab6657e58 100644 (file)
@@ -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,