mirror of
https://github.com/clearml/dropbear
synced 2025-02-12 07:25:30 +00:00
Auth doesn't timeout after 5 minutes.
--HG-- extra : convert_revision : d7df458117bc7af1d7c748c52e06cf8ca03113c1
This commit is contained in:
parent
cc1860bc86
commit
e17d27d91d
@ -340,6 +340,8 @@ void send_msg_userauth_success() {
|
|||||||
encrypt_packet();
|
encrypt_packet();
|
||||||
|
|
||||||
ses.authstate.authdone = 1;
|
ses.authstate.authdone = 1;
|
||||||
|
ses.connecttimeout = 0;
|
||||||
|
|
||||||
|
|
||||||
if (ses.authstate.pw->pw_uid == 0) {
|
if (ses.authstate.pw->pw_uid == 0) {
|
||||||
ses.allowprivport = 1;
|
ses.allowprivport = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user