From: Daan De Meyer Date: Fri, 29 May 2026 07:16:33 +0000 (+0000) Subject: ssh-proxy: Default to root user X-Git-Tag: v261-rc3~46 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=6ec161c5b9ababc119c42883de40a23bd8d14bbb;p=thirdparty%2Fsystemd.git ssh-proxy: Default to root user When ssh-ing into a VM, you generally do not want to log in as your user from the host. Let's default to the root user unless a user is explicitly specified. --- diff --git a/src/ssh-generator/20-systemd-ssh-proxy.conf.in b/src/ssh-generator/20-systemd-ssh-proxy.conf.in index e43560aa74b..f88eca3275c 100644 --- a/src/ssh-generator/20-systemd-ssh-proxy.conf.in +++ b/src/ssh-generator/20-systemd-ssh-proxy.conf.in @@ -10,6 +10,7 @@ Host .host machine/.host # Make sure machine/* can be used to connect to local machines registered in machined. # Host unix/* unix%* vsock/* vsock%* vsock-mux/* vsock-mux%* machine/* machine%* + User root ProxyCommand {{LIBEXECDIR}}/systemd-ssh-proxy %h %p ProxyUseFdpass yes CheckHostIP no