Skip to content

Commit

Permalink
Merge pull request #615 from pbrumm/hotfix/connection_issue
Browse files Browse the repository at this point in the history
fixing to work with windows and wingftpserver connecting with public key
  • Loading branch information
mfazekas committed Jul 15, 2018
2 parents dc6dc34 + 0504e6f commit 1c33116
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/net/ssh/authentication/methods/publickey.rb
Expand Up @@ -82,6 +82,8 @@ def authenticate_with(identity, next_service, username)

when USERAUTH_FAILURE
return false
when USERAUTH_SUCCESS
return true

else
raise Net::SSH::Exception, "unexpected reply to USERAUTH_REQUEST: #{message.type} (#{message.inspect})"
Expand Down

0 comments on commit 1c33116

Please sign in to comment.