horape at tinuviel.compendium.net.ar
2001-Jan-02 19:17 UTC
Why add ListenAddress to sshd_conf
?Hola! [Please keep me in the Cc: list, i amn't subscribed to the list] (From ftp://ftp.plig.org/pub/OpenBSD/OpenSSH/portable/openssh-2.2.0p1-vs-openbsd.diff.gz) --- ssh-openbsd-2000090200/sshd_config Tue Aug 8 16:55:05 2000 +++ openssh-2.2.0p1/sshd_config Wed Aug 30 09:40:09 2000 @@ -2,7 +2,7 @@ Port 22 #Protocol 2,1 -#ListenAddress 0.0.0.0 +ListenAddress 0.0.0.0 #ListenAddress :: HostKey /etc/ssh_host_key ServerKeyBits 768 ---- Why? If there's no ListenAddress ssh listens on all addresses: --- ListenAddress Specifies what local address sshd should listen on. The default is to listen to all local addresses. Multiple options of this type are permitted. Additionally, the Ports options must precede this option. --- (from sshd(8) ) and the ListenAddress 0.0.0.0 directive breaks IPv6 support (in january/2000 the openbsd branch changed that so it works. Why reverting the change and breaking again IPv6 support?) Thanks, HoraPe --- Horacio J. Pe?a horape at compendium.com.ar horape at uninet.edu bofh at puntoar.net.ar horape at hcdn.gov.ar