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

Try connecting via ssh-agent when set even if key decoding fails from keyPath #137

Merged
merged 1 commit into from
May 3, 2021

Conversation

kke
Copy link
Contributor

@kke kke commented May 3, 2021

Fixes #133

Updates rig to get a version that contains a fix which moves the auth methods around so it can ignore key decoding errors when SSH_AUTH_SOCK is set (which can happen if you set keyPath to a password protected key, which only works through ssh-add. Adding a passphrase input does not seem like a good idea)

@kke kke requested a review from ncopa May 3, 2021 13:11
@kke kke changed the title Fix key errors when using keypath and a protected key Try connecting via ssh-agent when set even if key decoding fails from keyPath May 3, 2021
Copy link
Contributor

@ncopa ncopa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It solves the issue. Thanks!

@kke kke merged commit 22034e8 into main May 3, 2021
@kke kke deleted the update-rig-for-protected-keys branch May 3, 2021 17:58
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.

k0sctl 0.8.2 does not work with password protected ssh keys
2 participants