diff options
author | Mike Crute <mike@crute.us> | 2019-02-17 05:50:54 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2019-02-17 05:50:54 +0000 |
commit | 821647063e5240ff45d6f46acab6f2605d9429f8 (patch) | |
tree | ed546cf9725e39436e2a93410171e58e0b002056 /ssh-bastion | |
parent | 667b5707f75836c59aa526a8dafd0b099366ef7c (diff) | |
download | dockerfiles-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_config | 4 |
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 | |||
41 | MaxAuthTries 2 | 41 | MaxAuthTries 2 |
42 | ForceCommand /usr/bin/nologin | 42 | ForceCommand /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. | ||
46 | MaxSessions 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. |