Commit Graph

2 Commits (fd6efb71f255739c1e50e8222c6c5fab99df5709)

Author SHA1 Message Date
Dima Scherbakov fd6efb71f2
ssh_config: ignore pre-existing SSH keys on client (#14646)
sshd limits the number of authentication attempts permitted per
established connection.
The limit is set via the MaxAuthTries option and defaults to six
attempts.

Client SSH environments that define more than six SSH keys globally or
in the agent would exhaust authentication attempts before they reach the
algo-specified per-instance SSH private key.

SSH client allows "forgetting" existing keys per connection using the
IdentitiesOnly option.
A client only offers an explicitly defined key when this option is set.
9 months ago
Jack Ivanov d7d976784c Fixes #207 7 years ago