ssh: Update listen addresses.
authorMatthijs Kooijman <matthijs@stdin.nl>
Fri, 17 Apr 2009 12:30:00 +0000 (14:30 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Fri, 17 Apr 2009 12:30:00 +0000 (14:30 +0200)
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

index 468232797a87b6f9c24f3a44d1a7e2e11f708da5..1067d806ed32dc4ba6ee007c1ded3e945cdea5d7 100644 (file)
@@ -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