Make sshd listen on the external ip only.
authorMatthijs Kooijman <matthijs@drsnuggles.stderr.nl>
Thu, 19 Jun 2008 09:40:07 +0000 (11:40 +0200)
committerMatthijs Kooijman <matthijs@drsnuggles.stderr.nl>
Thu, 19 Jun 2008 09:40:07 +0000 (11:40 +0200)
etc/ssh/sshd_config

index 052487410030a3718cead86040ce493a03cad247..0bb4fe8e434a36edb17b57f51e110a60b17d9e10 100644 (file)
@@ -5,7 +5,7 @@
 Port 22
 # Use these options to restrict which interfaces/protocols sshd will bind to
 #ListenAddress ::
-#ListenAddress 0.0.0.0
+ListenAddress 195.85.225.80
 Protocol 2
 # HostKeys for protocol version 2
 HostKey /etc/ssh/ssh_host_rsa_key