Skip to content

ssh: support for new key algorithms rsa-sha2-256/rsa-sha2-512 #334

@wenerme

Description

@wenerme
# ok with identity file
SSH_AUTH_SOCK= ssh -i ./credentials/admin_rsa [email protected] uname
# ok with ssh-agent
ssh [email protected] uname
spec:
  hosts:
  - ssh:
      address: 192.168.1.61
      user: admin
      port: 22
      keyPath: ./credentials/admin_rsa
    role: controller+worker
# not ok
k0sctl reset -f
# not ok
SSH_AUTH_SOCK= k0sctl reset -f

output

k0sctl v0.12.6 Copyright 2021, k0sctl authors.
By continuing to use k0sctl you agree to these terms:
https://k0sproject.io/licenses/eula
INFO ==> Running phase: Connect to hosts 
ERRO [ssh] 192.168.1.61:22: failed to connect: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain 
FATA failed on 1 hosts:
 - [ssh] 192.168.1.61:22: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain 

version

version: v0.12.6
commit: d5f7d66

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions