projects
/
matthijs
/
servers
/
drsnuggles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ssh: Update listen addresses.
[matthijs/servers/drsnuggles.git]
/
etc
/
ssh
/
sshd_config
diff --git
a/etc/ssh/sshd_config
b/etc/ssh/sshd_config
index 468232797a87b6f9c24f3a44d1a7e2e11f708da5..1067d806ed32dc4ba6ee007c1ded3e945cdea5d7 100644
(file)
--- 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
# 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
# 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
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key