projects
/
matthijs
/
servers
/
drsnuggles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sshd listen on the external ip only.
[matthijs/servers/drsnuggles.git]
/
etc
/
ssh
/
sshd_config
diff --git
a/etc/ssh/sshd_config
b/etc/ssh/sshd_config
index 052487410030a3718cead86040ce493a03cad247..0bb4fe8e434a36edb17b57f51e110a60b17d9e10 100644
(file)
--- a/
etc/ssh/sshd_config
+++ b/
etc/ssh/sshd_config
@@
-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.8
0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key