211. SSH Server Fails to Activate X11 Forwarding After Disabling IPv6 Support
On a server with disabled IPv6:
sysctl net.ipv6.conf.all.disable_ipv6
X11 forwarding stops working with error message:
X11 forwarding request failed on channel 0
At connect of the client.
Solution:
Add:
AddressFamily inet
To /etc/ssh/sshd_config on the server.
Tribute goes to: https://gist.github.com/adrianratnapala/1324845#comment-88998
Kategorie(n):