etc/ssh
This commit is contained in:
19
etc/ssh/ssh_config.d/20-systemd-ssh-proxy.conf
Normal file
19
etc/ssh/ssh_config.d/20-systemd-ssh-proxy.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
# Allow connecting to the local host directly via ".host"
|
||||
Host .host machine/.host
|
||||
ProxyCommand /usr/lib/systemd/systemd-ssh-proxy unix/run/ssh-unix-local/socket %p
|
||||
ProxyUseFdpass yes
|
||||
CheckHostIP no
|
||||
|
||||
# Make sure unix/* and vsock/* can be used to connect to AF_UNIX and AF_VSOCK paths.
|
||||
# Make sure machine/* can be used to connect to local machines registered in machined.
|
||||
#
|
||||
Host unix/* vsock/* machine/*
|
||||
ProxyCommand /usr/lib/systemd/systemd-ssh-proxy %h %p
|
||||
ProxyUseFdpass yes
|
||||
CheckHostIP no
|
||||
|
||||
# Disable all kinds of host identity checks, since these addresses are generally ephemeral.
|
||||
StrictHostKeyChecking no
|
||||
UserKnownHostsFile /dev/null
|
||||
Reference in New Issue
Block a user