Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug]: SSH host picker duplicates configured aliases and known_hosts targets

Open Beginner friendly
#13,270 0 comments 0 reactions 0 assignees View on GitHub

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

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
  1. Add an SSH config entry such as:
    Host devbox
      HostName 203.0.113.10
      User developer
    
  2. Connect once so known_hosts contains 203.0.113.10.
  3. 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

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.

More from pingdotgg/t3code

All issues in pingdotgg/t3code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.