From: Matthijs Kooijman Date: Fri, 17 Apr 2009 12:30:00 +0000 (+0200) Subject: ssh: Update listen addresses. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fservers%2Fdrsnuggles.git;a=commitdiff_plain;h=4a216c7d6d2e4988511f7cdf9636931b54359204 ssh: Update listen addresses. This changes the port back to 22 for all but the external interface, sets sshd to listen on localhost and fixes a typo in the direct zeratul link address. --- diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config index 4682327..1067d80 100644 --- a/etc/ssh/sshd_config +++ b/etc/ssh/sshd_config @@ -1,12 +1,14 @@ # Package generated configuration file # See the sshd(8) manpage for details -# What ports, IPs and protocols we listen for -Port 222 # Use these options to restrict which interfaces/protocols sshd will bind to -#ListenAddress :: -ListenAddress 94.142.244.14 -ListenAddress 172.32.1.2 +# External, on a different port (22 is forwarded to the login vserver) +ListenAddress 94.142.244.14:222 +# Internal link to zeratul +ListenAddress 172.31.1.2 +# Loopback +ListenAddress 127.0.0.1 + Protocol 2 # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key