Skip to content

ssh-libssh: fix infinite connect loop on invalid private key#2879

Closed
kdudka wants to merge 2 commits intocurl:masterfrom
kdudka:libssh
Closed

ssh-libssh: fix infinite connect loop on invalid private key#2879
kdudka wants to merge 2 commits intocurl:masterfrom
kdudka:libssh

Conversation

@kdudka
Copy link
Contributor

@kdudka kdudka commented Aug 14, 2018

Added test 656 (based on test 604) to verify the fix.

Bug: https://bugzilla.redhat.com/1595135

kdudka added 2 commits August 14, 2018 15:55
The verbose message "Authentication using SSH public key file" was
printed each time the ssh_userauth_publickey_auto() was called, which
meant each time a packet was transferred over network because the API
operates in non-blocking mode.

This patch makes sure that the verbose message is printed just once
(when the authentication state is entered by the SSH state machine).
@kdudka kdudka closed this in a4c7911 Aug 14, 2018
@kdudka kdudka deleted the libssh branch August 14, 2018 20:10
@lock lock bot locked as resolved and limited conversation to collaborators Nov 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants