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

ssh: log the libssh2 error message when ssh session startup fails #3481

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@JDepooter
Copy link
Contributor

JDepooter commented Jan 17, 2019

When a ssh session startup fails, it is useful to know why it has
failed. This commit changes the message from:
"Failure establishing ssh session"
to something like this, for example:
"Failure establishing ssh session: -5, Unable to exchange encryption keys"

ssh: log the libssh2 error message when ssh session startup fails
When a ssh session startup fails, it is useful to know why it has
failed. This commit changes the message from:
   "Failure establishing ssh session"
to something like this, for example:
   "Failure establishing ssh session: -5, Unable to exchange encryption keys"
@bagder

bagder approved these changes Jan 17, 2019

@bagder

This comment has been minimized.

Copy link
Member

bagder commented Jan 17, 2019

Thanks!

@bagder bagder closed this in b095a1c Jan 17, 2019

@JDepooter JDepooter deleted the JDepooter:ssh_session_startup_error_msg branch Jan 17, 2019

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