diff options
author | Jonathan Bauer | 2019-04-18 15:57:05 +0200 |
---|---|---|
committer | Jonathan Bauer | 2019-04-18 15:57:05 +0200 |
commit | 993cf66a5a1221af5fe2b98c2c6dca3021e82fc2 (patch) | |
tree | 8950f0c746269862bc99b10f261ab992574fa66c /core/modules/sshd | |
parent | [xorg] include xauth (diff) | |
download | mltk-993cf66a5a1221af5fe2b98c2c6dca3021e82fc2.tar.gz mltk-993cf66a5a1221af5fe2b98c2c6dca3021e82fc2.tar.xz mltk-993cf66a5a1221af5fe2b98c2c6dca3021e82fc2.zip |
[sshd] only bind on IPv4
to make sure that X11 forwarding works even on machine with disabled
ipv6 stack
Diffstat (limited to 'core/modules/sshd')
-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 |