diff options
Diffstat (limited to 'svr-auth.c')
-rw-r--r-- | svr-auth.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -340,6 +340,8 @@ void send_msg_userauth_success() { encrypt_packet(); ses.authstate.authdone = 1; + ses.connecttimeout = 0; + if (ses.authstate.pw->pw_uid == 0) { ses.allowprivport = 1; |