aboutsummaryrefslogtreecommitdiff
path: root/ssh-bastion
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2019-02-17 05:50:54 +0000
committerMike Crute <mike@crute.us>2019-02-17 05:50:54 +0000
commit821647063e5240ff45d6f46acab6f2605d9429f8 (patch)
treeed546cf9725e39436e2a93410171e58e0b002056 /ssh-bastion
parent667b5707f75836c59aa526a8dafd0b099366ef7c (diff)
downloaddockerfiles-821647063e5240ff45d6f46acab6f2605d9429f8.tar.bz2
dockerfiles-821647063e5240ff45d6f46acab6f2605d9429f8.tar.xz
dockerfiles-821647063e5240ff45d6f46acab6f2605d9429f8.zip
Remove duplicated setting
Diffstat (limited to 'ssh-bastion')
-rw-r--r--ssh-bastion/etc/ssh/sshd_config4
1 files changed, 0 insertions, 4 deletions
diff --git a/ssh-bastion/etc/ssh/sshd_config b/ssh-bastion/etc/ssh/sshd_config
index 759201d..fbe71c6 100644
--- a/ssh-bastion/etc/ssh/sshd_config
+++ b/ssh-bastion/etc/ssh/sshd_config
@@ -41,10 +41,6 @@ PermitTTY no
41MaxAuthTries 2 41MaxAuthTries 2
42ForceCommand /usr/bin/nologin 42ForceCommand /usr/bin/nologin
43 43
44# Disable all interactive sessions. Users will still be allowed to jump through
45# the host but not be allowed to login or run any commands.
46MaxSessions 0
47
48# This turns off reverse lookups of the originating host which hang sshd on DNS 44# This turns off reverse lookups of the originating host which hang sshd on DNS
49# timeouts when DNS is down. This also breaks "from=" lines in authorizd_keys 45# timeouts when DNS is down. This also breaks "from=" lines in authorizd_keys
50# files which must be converted to dotted quad ip addrs. 46# files which must be converted to dotted quad ip addrs.