chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f20cbd2
)
sshkeys: Fix formatting of ssh authorized_keys files
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 1 Jun 2021 20:48:45 +0000
(21:48 +0100)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/src/sshkeys.rs
b/src/sshkeys.rs
index c1e07314b0b4f6ef09429d59d66b31a1df0e5e91..ebff7b91e0f55acbd6a68a5b63eeedbab6657e58 100644
(file)
--- 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,