diff options
author | Damien Miller <djm@mindrot.org> | 2013-10-30 22:21:50 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-10-30 22:21:50 +1100 |
commit | 5ff30c6b68adeee767dd29bf2369763c6a13c0b3 (patch) | |
tree | af34775607e7ca5317884d5c2e8460f2782b0f43 /sshd_config | |
parent | 4a3a9d4bbf8048473f5cc202cd8db7164d5e6b8d (diff) |
- djm@cvs.openbsd.org 2013/10/29 09:48:02
[servconf.c servconf.h session.c sshd_config sshd_config.5]
shd_config PermitTTY to disallow TTY allocation, mirroring the
longstanding no-pty authorized_keys option;
bz#2070, patch from Teran McKinney; ok markus@
Diffstat (limited to 'sshd_config')
-rw-r--r-- | sshd_config | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sshd_config b/sshd_config index dbda7491e..235459af0 100644 --- a/sshd_config +++ b/sshd_config | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: sshd_config,v 1.91 2013/09/07 13:53:11 sthen Exp $ | 1 | # $OpenBSD: sshd_config,v 1.92 2013/10/29 09:48:02 djm Exp $ |
2 | 2 | ||
3 | # This is the sshd server system-wide configuration file. See | 3 | # This is the sshd server system-wide configuration file. See |
4 | # sshd_config(5) for more information. | 4 | # sshd_config(5) for more information. |
@@ -101,6 +101,7 @@ AuthorizedKeysFile .ssh/authorized_keys | |||
101 | #X11Forwarding no | 101 | #X11Forwarding no |
102 | #X11DisplayOffset 10 | 102 | #X11DisplayOffset 10 |
103 | #X11UseLocalhost yes | 103 | #X11UseLocalhost yes |
104 | #PermitTTY yes | ||
104 | #PrintMotd yes | 105 | #PrintMotd yes |
105 | #PrintLastLog yes | 106 | #PrintLastLog yes |
106 | #TCPKeepAlive yes | 107 | #TCPKeepAlive yes |
@@ -127,4 +128,5 @@ Subsystem sftp /usr/libexec/sftp-server | |||
127 | #Match User anoncvs | 128 | #Match User anoncvs |
128 | # X11Forwarding no | 129 | # X11Forwarding no |
129 | # AllowTcpForwarding no | 130 | # AllowTcpForwarding no |
131 | # PermitTTY no | ||
130 | # ForceCommand cvs server | 132 | # ForceCommand cvs server |