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
|
cat > /etc/systemd/system/ssh.socket.d/override.conf <<EOF
|
||||||
[Socket]
|
[Socket]
|
||||||
ListenStream=
|
ListenStream=
|
||||||
ListenStream=${SSH_PORT}
|
ListenStream=0.0.0.0:${SSH_PORT}
|
||||||
|
ListenStream=[::]:${SSH_PORT}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Keep sshd_config aligned
|
# Keep sshd_config aligned
|
||||||
|
|||||||
Reference in New Issue
Block a user