We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
OpenSSH allows setting ServerAliveInterval which sends a keepalive@openssh.com request at the configured interval:
ServerAliveInterval
keepalive@openssh.com
https://github.com/openssh/openssh-portable/blob/master/clientloop.c#L480-L493
At the moment, Teleport ignores these requests:
https://github.com/gravitational/teleport/blob/master/lib/sshutils/server.go#L268-L276 https://github.com/gravitational/teleport/blob/master/lib/srv/sshserver.go#L623-L626
Instead Teleport always replies at it's own interval:
https://github.com/gravitational/teleport/blob/master/lib/sshutils/server.go#L259-L263 https://github.com/gravitational/teleport/blob/master/lib/sshutils/server.go#L285-L288
When OpenSSH doesn't get a response back, it kills the connection which ends up having the opposite result of what the user intended.
The text was updated successfully, but these errors were encountered:
autofill username if loggedInUser exists on cluster (#954) (#963)
04cd005
* autofill username if loggedInUser exists on cluster * changed to loggedInUserName * removing unneeded export
russjones
No branches or pull requests
OpenSSH allows setting
ServerAliveInterval
which sends akeepalive@openssh.com
request at the configured interval:https://github.com/openssh/openssh-portable/blob/master/clientloop.c#L480-L493
At the moment, Teleport ignores these requests:
https://github.com/gravitational/teleport/blob/master/lib/sshutils/server.go#L268-L276
https://github.com/gravitational/teleport/blob/master/lib/srv/sshserver.go#L623-L626
Instead Teleport always replies at it's own interval:
https://github.com/gravitational/teleport/blob/master/lib/sshutils/server.go#L259-L263
https://github.com/gravitational/teleport/blob/master/lib/sshutils/server.go#L285-L288
When OpenSSH doesn't get a response back, it kills the connection which ends up having the opposite result of what the user intended.
The text was updated successfully, but these errors were encountered: