From 67abe73a9467648c994a036a99be50e79066594d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 30 May 2021 21:20:09 +0100 Subject: [PATCH] sshkeys: Change authorized_keys command to what we are going to impl Signed-off-by: Ian Jackson --- src/sshkeys.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sshkeys.rs b/src/sshkeys.rs index 635ae685..9827ee80 100644 --- a/src/sshkeys.rs +++ b/src/sshkeys.rs @@ -410,7 +410,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="{} --ssh-proxy {} {}" {} {}:{}"#, + writeln!(w, r#"{},command="{} mgmtchannel-proxy --restrict-ssh {}:{}" \ + {} {}:{}"#, RESTRICTIONS, &config().ssh_proxy_bin, id, key.nonce, &key.data, -- 2.30.2