From 4a216c7d6d2e4988511f7cdf9636931b54359204 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 17 Apr 2009 14:30:00 +0200 Subject: [PATCH] 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. --- etc/ssh/sshd_config | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -- 2.30.2