Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alajmo
Copy link
Owner

@alajmo alajmo commented Aug 5, 2022

What's Changed

Concerns #26

Fix connecting to many servers. Two issues were identified:

  • Identity keys are tried for all servers resulting in too many auth failure
  • ParsePrivateKeyWithPassphrase will be executed multiple times if multiple servers refer to the same identity file

Technical Description

Currently, public keys defined for one server are also tried for other servers. This leads to:

ssh: handshake failed: ssh: disconnect, reason 2: Too many authentication failures

when many servers are defined.

@alajmo alajmo merged commit bbc0b14 into main Aug 12, 2022
@alajmo alajmo deleted the fix/auth-connection branch August 12, 2022 21:53
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

Successfully merging this pull request may close these issues.

2 participants