diff options
-rw-r--r-- | core/modules/sshd/data/etc/ssh/sshd_config | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/sshd/data/etc/ssh/sshd_config b/core/modules/sshd/data/etc/ssh/sshd_config index 05abc551..32e34d8d 100644 --- a/core/modules/sshd/data/etc/ssh/sshd_config +++ b/core/modules/sshd/data/etc/ssh/sshd_config @@ -1,6 +1,10 @@ # Package generated configuration file # See the sshd_config(5) manpage for details +# Only use IPv4 stack. Using IPv6 breaks X11 forwarding +# as sshd won't be able to create an IP socket with following message: +# error: Failed to allocate internet-domain X11 display socket. +AddressFamily inet # What ports, IPs and protocols we listen for Port 22 # Use these options to restrict which interfaces/protocols sshd will bind to |