summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth.c b/auth.c
index 63366768a..0b7a335fc 100644
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.c,v 1.127 2018/03/12 00:52:01 djm Exp $ */ 1/* $OpenBSD: auth.c,v 1.128 2018/05/25 07:11:01 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -1080,6 +1080,7 @@ auth_restrict_session(struct ssh *ssh)
1080 1080
1081 /* A blank sshauthopt defaults to permitting nothing */ 1081 /* A blank sshauthopt defaults to permitting nothing */
1082 restricted = sshauthopt_new(); 1082 restricted = sshauthopt_new();
1083 restricted->permit_pty_flag = 1;
1083 restricted->restricted = 1; 1084 restricted->restricted = 1;
1084 1085
1085 if (auth_activate_options(ssh, restricted) != 0) 1086 if (auth_activate_options(ssh, restricted) != 0)