summaryrefslogtreecommitdiff
path: root/sshd_config.5
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-10-30 22:21:50 +1100
committerDamien Miller <djm@mindrot.org>2013-10-30 22:21:50 +1100
commit5ff30c6b68adeee767dd29bf2369763c6a13c0b3 (patch)
treeaf34775607e7ca5317884d5c2e8460f2782b0f43 /sshd_config.5
parent4a3a9d4bbf8048473f5cc202cd8db7164d5e6b8d (diff)
downloadopenssh-git-5ff30c6b68adeee767dd29bf2369763c6a13c0b3.tar.gz
- 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.5')
-rw-r--r--sshd_config.511
1 files changed, 9 insertions, 2 deletions
diff --git a/sshd_config.5 b/sshd_config.5
index 0536cc3c..c3e30e61 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -33,8 +33,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: sshd_config.5,v 1.163 2013/10/24 00:51:48 dtucker Exp $
-.Dd $Mdocdate: October 24 2013 $
+.\" $OpenBSD: sshd_config.5,v 1.164 2013/10/29 09:48:02 djm Exp $
+.Dd $Mdocdate: October 29 2013 $
.Dt SSHD_CONFIG 5
.Os
.Sh NAME
@@ -813,6 +813,7 @@ Available keywords are
.Cm PermitEmptyPasswords ,
.Cm PermitOpen ,
.Cm PermitRootLogin ,
+.Cm PermitTTY ,
.Cm PermitTunnel ,
.Cm PubkeyAuthentication ,
.Cm RekeyLimit ,
@@ -942,6 +943,12 @@ and
.Dq ethernet .
The default is
.Dq no .
+.It Cm PermitTTY
+Specifies whether
+.Xr pty 7
+allocation is permitted.
+The default is
+.Dq yes .
.It Cm PermitUserEnvironment
Specifies whether
.Pa ~/.ssh/environment