How to prevent SSHD to listen on an address family
English · Français
March 1, 2014
Antre du Tryphon

How to prevent SSHD to listen on an address family

March 1, 2014 · ctheroux Ubuntu 11.10 Unix Ubuntu 11.04 Ubuntu SSH Ubuntu 12.04

It is possible to control on which address family sshd will listen to. In /etc/ssh/sshd_config, simply add AddressFamily any to listen to IPv4 and IPv6 addresses. This is the default. Alternatively, add one of these to listen only to IPv4 (inet) or IPv6 (inet6) respectively. AddressFamily inet AddressFamily inet6


Leave a Comment

Replying to
Your email address will not be published.

Copyright 2012–2026, Claude "Tryphon" Théroux