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.
This commit is contained in:
committed by
Daan De Meyer
parent
0a63318420
commit
6ec161c5b9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user