uselagoon / uselagoon/lagoon-cli

sshkey in lagoon-cli config doesn't interpret home directory properly for ssh

Open
#295 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
28
Forks
14
Avg merge
1d 2h
Merged PRs (30d)
1

Description

When setting the sshkey of a cluster config to a file like ~/.ssh/my-special-key, for all commands it works, except for the ssh command it doesn't understand. Specifying the full path does work though as a workaround

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the ssh command's handling of the cluster config sshkey value and reproduce the issue with ~/.ssh/my-special-key. The work is done when the ssh command interprets the home-directory shorthand as the other commands do, while full paths continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.