-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant ssh to any host. #125
Comments
the version was v3.01.03 when issue appered . updated to v3.01.99-rc2 and
|
enabled debug:
|
It looks like you're having an old version of ttyrec, which seems strange because the latest The Bastion version bumps didn't change the ttyrec calls parameters. EDIT: disregard that, I missed the |
There were no recent change around that portion of code, did you change your I'll propose a patch to detect this case, so that the bastion ignores the |
@speed47 yep. that's it. warnBeforeKillSeconds was set without idleKillTimeout . Thank you |
Before, an inconsistency in the configuration settings of the warnBefore(Lock|Kill)Seconds and idle(Lock|Kill)Timeout could break any new connection (ttyrec refuses to launch). Now we detect this case properly, and fallback to a sane setting for warnBefore(Lock|Kill)Seconds (zero) if those were set without enabling the corresponding idle(Lock|Kill)Timeout setting. We also log an error to syslog when it happens, so that the sysadmin can fix their configuration. Added hints about how these configuration options work together in the bastion.conf.dist file. Fixes #125
Before, an inconsistency in the configuration settings of the warnBefore(Lock|Kill)Seconds and idle(Lock|Kill)Timeout could break any new connection (ttyrec refuses to launch). Now we detect this case properly, and fallback to a sane setting for warnBefore(Lock|Kill)Seconds (zero) if those were set without enabling the corresponding idle(Lock|Kill)Timeout setting. We also log an error to syslog when it happens, so that the sysadmin can fix their configuration. Added hints about how these configuration options work together in the bastion.conf.dist file. Fixes #125
Before, an inconsistency in the configuration settings of the warnBefore(Lock|Kill)Seconds and idle(Lock|Kill)Timeout could break any new connection (ttyrec refuses to launch). Now we detect this case properly, and fallback to a sane setting for warnBefore(Lock|Kill)Seconds (zero) if those were set without enabling the corresponding idle(Lock|Kill)Timeout setting. We also log an error to syslog when it happens, so that the sysadmin can fix their configuration. Added hints about how these configuration options work together in the bastion.conf.dist file. Fixes #125
not sure what's happened but now I can't ssh to any host:
seems like ttyrec doesn't like some param.
how i can check what parameters is ttyrec is called with?
The text was updated successfully, but these errors were encountered: