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

Update rig to v0.9.2 (.ssh/config, .ssh/knownhosts support, ..) #426

Merged
merged 4 commits into from
Nov 17, 2022
Merged

Conversation

kke
Copy link
Contributor

@kke kke commented Nov 17, 2022

Signed-off-by: Kimmo Lehto klehto@mirantis.com

Fixes #422

  • Improved ssh private key selection logic, including checking from .ssh/config
  • Now possible to point keyPath to a public key file when using agent
  • When possible, try to only use the correct signer from agent for the specific key instead of always trying all keys

Read more: k0sproject/rig#73

  • Classic ssh host key checking using a known hosts file. When a key is not found for the first time, add it to the file.
  • Known hosts file location can be set in .ssh/config UserKnownHostsFile or SSH_KNOWN_HOSTS env
  • If the file location is explicitly set to "" or "/dev/null", host key check is disabled.
  • Deprecate the host.ssh.hostKey, it's unlikely this is the way anyone is or should be using host key checking.

Read more: k0sproject/rig#75

Updates several child dependencies such as golang.org/x/crypto.

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke added bug Something isn't working enhancement New feature or request labels Nov 17, 2022
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke changed the title Update rig to v0.9.1 (.ssh/config, .ssh/knownhosts support, ..) Update rig to v0.9.2 (.ssh/config, .ssh/knownhosts support, ..) Nov 17, 2022
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke merged commit ec6886f into main Nov 17, 2022
@kke kke deleted the rig-091 branch November 17, 2022 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

k0sctl doesn't read/understand ~/.ssh/config with relation to ssh-agent keys
1 participant