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 connection should use "IdentitiesOnly yes" option #104

Open
dmd opened this issue Sep 26, 2022 · 0 comments
Open

ssh connection should use "IdentitiesOnly yes" option #104

dmd opened this issue Sep 26, 2022 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@dmd
Copy link

dmd commented Sep 26, 2022

In some circumstances if your ssh-agent has a lot of keys, connecting fails e.g.:

Select the instance you want to connect to:

       INSTANCE                                │ TAG-KEY │ TAG-VALUE
     ──────────────────────────────────────────┼─────────┼────────────
   >   rt-dockertest12343(i-06ab0e3ff8715cad5) │         │
Connecting to instance failed: exit status 255Received disconnect from 34.236.152.159 port 22:2: Too many authentication failures
Disconnected from 34.236.152.159 port 22

A similar thing happens when trying to use the normal cli ssh command.

This issue is solved on the ssh command line with -o "IdentitiesOnly yes"; it would be good for this to also pass that option.

@dmd dmd added the bug Something isn't working label Sep 26, 2022
@jillmon jillmon added the good first issue Good for newcomers label Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants