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

Cannot check whether SSHClient is still connected #195

Open
xdom opened this issue Feb 20, 2017 · 0 comments
Open

Cannot check whether SSHClient is still connected #195

xdom opened this issue Feb 20, 2017 · 0 comments

Comments

@xdom
Copy link

xdom commented Feb 20, 2017

It would be useful if we could somehow check whether SSHClient is still connected to a host. Sometimes it's not desirable to close and reopen connection after and before every command execution / file operation. However, host could be rebooted in the meanwhile and the ssh connection could be lost. In that case, we want to check if the connection is alive and if it's not, reconnect again.

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

No branches or pull requests

1 participant