TritonDataCenter / TritonDataCenter/node-triton

Profile create fails for non-standard ssh key paths

Open
#209 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
60
Forks
36
Avg merge
3d 8h
Merged PRs (30d)
1

Description

When I triton profile create I get a list of keys like this:

The fingerprint of the SSH key you want to use to authenticate with CloudAPI.
Specify the fingerprint or the index of one of the found keys in the list
below. If the key you want to use is not listed, make sure it is either saved
in your SSH keys directory (~/.ssh) or loaded into your SSH agent.

1. Fingerprint "e:f:g..." (4096-bit RSA)
   - in agent: /path/to/some/id_rsa

2. Fingerprint "a:b:c..." (2048-bit RSA)
   - in agent: /path/to/joyent/id_rsa

These keys are not in the standard location inside ~/.ssh in this case. When I pick one of them it then fails:

triton profile create: error (Setup): could not obtain SSH private key for keyId "a:b:c..." to create Docker certificate

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the failure with triton profile create while selecting an SSH key loaded from a non-standard path. Start at the profile-creation flow and trace how the selected key is used to create the Docker certificate; done means profile creation succeeds for that key.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.