Ssh socket fix
This commit is contained in:
@@ -62,7 +62,8 @@ mkdir -p /etc/systemd/system/ssh.socket.d
|
||||
cat > /etc/systemd/system/ssh.socket.d/override.conf <<EOF
|
||||
[Socket]
|
||||
ListenStream=
|
||||
ListenStream=${SSH_PORT}
|
||||
ListenStream=0.0.0.0:${SSH_PORT}
|
||||
ListenStream=[::]:${SSH_PORT}
|
||||
EOF
|
||||
|
||||
# Keep sshd_config aligned
|
||||
|
||||
Reference in New Issue
Block a user