Displaying 2 results from an estimated 2 matches for "sshauthopt".
2018 May 24
2
Password change required but no TTY available
...keys options API and") dropped the 'allowed pty' option when
the password has expired. By adding this hack here, I got it
back to the old behavior:
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -62,6 +62,7 @@ extern ServerOptions options;
extern login_cap_t *lc;
#endif
+extern struct sshauthopt *auth_opts;
#define DAY (24L * 60 * 60) /* 1 day in seconds */
#define TWO_WEEKS (2L * 7 * DAY) /* 2 weeks in seconds */
@@ -122,8 +123,11 @@ auth_password(struct ssh *ssh, const char *password)
}
#endif
result = sys_auth_passwd(ssh, password);
- if (authctxt->force_pwchange)
+ if (auth...
2024 Aug 26
6
[Bug 3723] New: sshd failed to close session when client specifies no remote command
https://bugzilla.mindrot.org/show_bug.cgi?id=3723
Bug ID: 3723
Summary: sshd failed to close session when client specifies no
remote command
Product: Portable OpenSSH
Version: 8.0p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: PAM