systemd/ssh{.d}.socket.d: note to self on adding additional ports

This commit is contained in:
Aminda Suomalainen 2025-11-14 09:17:41 +02:00
parent 4393c30891
commit 053173b457
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
3 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1 @@
sshd.socket.d

View File

@ -1 +0,0 @@
../socket.d/dualstack-bind.conf

View File

@ -0,0 +1,16 @@
[Socket]
# Ensure SSHd is not IPv6-only.
BindIPv6Only=both
# Uncomment to disable default port 22
#ListenStream=
# If the above is uncommented, it will attempt to bind twice and fail.
#ListenStream=22
# WARNING! SELINUX may avc block unreserved ports and fail if additional
# ports are enabled.
# KDE Connect wants TCP port range 1714-1764 open
#ListenStream=1714
# Mosh wants UDP port range 60000-61000 open (and some might open it in TCP)
#ListenStream=60000