Skip to content

Error when using ed25519 key #99

@haraldkoch

Description

@haraldkoch

k3sup install tries to load my SSH key at ~/.ssh/id_rsa but I do not have an RSA key (I only use ed25519 these days):

$ k3sup --ip 192.168.100.10 --user chk install docker
Public IP: 192.168.100.10
ssh -i /home/chk/.ssh/id_rsa chk@192.168.100.10
Error: unable to load the ssh key with path "/home/chk/.ssh/id_rsa": open /home/chk/.ssh/id_rsa: no such file or directory

Expected Behaviour

k3sup should not specify the SSH key file path unless explicitly requested to do so on the command line. The ssh command will default to using an ssh-agent if it is configured, and will default to using any default keys in ~/.ssh if they are available.

Current Behaviour

See summary above; k3sup defaults to trying to use a key file that does not exist.

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • What OS or type or VM are you using? Where is it hosted?

  • Operating System and version (e.g. Linux, Windows, MacOS):

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions