respect IdentityFile ssh config when using ssh agent socket #3356
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
sig/cluster-management
Denotes a PR or issue as being assigned to SIG Cluster Management.
What happened?
We are using 1Password SSH Agent for managing our ssh keys
the
SSH_AUTH_SOCK
is set to the 1Password agentwhen trying to run kubeone we get the following error:
this is because there are more than 6 ssh keys in the agent available
it seems that kubeone does not respect the
IdentityFile
set in ~/.ssh/config likeExpected behavior
kubeone should respect the
IdentityFile
ssh config for the hostsHow to reproduce the issue?
add more than 6 ssh keys to the ssh agent and make sure that the one fitting for the host is ordered last
What KubeOne version are you using?
What cloud provider are you running on?
Hetzner Cloud
What operating system are you running in your cluster?
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: