[Bug]: SSH host picker duplicates configured aliases and known_hosts targets
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli, developer-experience
Research direction
Look at the SSH host picker component and the logic that reads SSH config and known_hosts files. The PR #13269 likely shows the relevant files. Start by understanding how suggestions are currently generated and deduplicated. Test the fix by running the desktop app and verifying that only the alias appears in suggestions and searches find it correctly.
Written by the indexing model from the issue text.
Description
Reproduction
- Add an SSH config entry such as:
Host devbox HostName 203.0.113.10 User developer - Connect once so
known_hostscontains203.0.113.10. - Open the desktop app's Add environment → SSH host suggestions.
Actual
Both devbox and 203.0.113.10 appear as separate choices. Selecting the raw address can bypass the alias's configured user and other SSH settings. Typing the address only finds the raw entry.
Expected
Show the configured alias as the suggestion and let a search for either devbox or its target address find it. Preserve unrelated known_hosts entries.
A focused fix is proposed in https://github.com/pingdotgg/t3code/pull/13269.
- Dominant language
- TypeScript
- Stars
- 23.4k
- Forks
- 6k
- Avg merge
- 9h
- Merged PRs (30d)
- 349
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pingdotgg/t3code
-
accepted bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
accepted bug good first issue via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
accepted bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
accepted bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
accepted bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
All issues in pingdotgg/t3code
Similar issues
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Crush Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ElementsProject/cln-application#167 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Quantco/pnpm-licenses#17 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100