-
-
Notifications
You must be signed in to change notification settings - Fork 399
Closed
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededsupport
Description
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):
ad-si, Ranguna, cloudgrimm, hrak, stenwt and 7 more
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededsupport