Skip to content
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

Allow disconnecting a session via custom handler #13

Open
josegonzalez opened this issue Apr 25, 2017 · 1 comment
Open

Allow disconnecting a session via custom handler #13

josegonzalez opened this issue Apr 25, 2017 · 1 comment

Comments

@josegonzalez
Copy link
Member

It would be great to have some clock process every N seconds that could invoke a disconnection-handler. The handler would exit 0 to disconnect, and exit 1 to stay alive.

This would be useful for something like allowing for SSH session TTLs, or revoking SSH access at run-time through a call to an external api/service.

@progrium
Copy link
Contributor

Do you think that's a sufficiently advanced case that you could just use gliderlabs/ssh instead? (Which this should eventually be rewritten with)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants