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

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

Closed

Conversation

@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"

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
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
@lock lock bot locked as resolved and limited conversation to collaborators Apr 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.