How to prevent SSHD to listen on an address family

L'Antre du Tryphon

schedule
2014-03-01 | 02:47h
update
2014-03-01 | 02:58h
person
www.ctheroux.com
domain
www.ctheroux.com

How to prevent SSHD to listen on an address family

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

Advertisement

Imprint
Responsible for the content:
www.ctheroux.com
Privacy & Terms of Use:
www.ctheroux.com
Mobile website via:
WordPress AMP Plugin
Last AMPHTML update:
04.04.2024 - 02:19:51
Privacy-Data & cookie usage: