Skip to content

feat: SSH config host quick-pick menu#255

Draft
christophkroeppl wants to merge 1 commit into
jeanp413:masterfrom
christophkroeppl:feat/ssh-config-host-quickpick
Draft

feat: SSH config host quick-pick menu#255
christophkroeppl wants to merge 1 commit into
jeanp413:masterfrom
christophkroeppl:feat/ssh-config-host-quickpick

Conversation

@christophkroeppl

Copy link
Copy Markdown

Summary

  • Replace the plain input box in "Connect to Host..." with a QuickPick menu listing all configured SSH hosts from ~/.ssh/config
  • Each host shows its HostName, User, and Port as description details
  • A separator + "Enter host manually..." option preserves the original input box flow for ad-hoc connections
  • The Host alias (not the resolved HostName) is displayed in the status bar indicator (e.g. SSH: myserver)

Test plan

  • Verify hosts from ~/.ssh/config appear in the quick-pick when running "Connect to Host..."
  • Verify description shows HostName/User/Port where configured
  • Verify "Enter host manually..." falls back to the original input box
  • Verify the status bar indicator shows the Host alias after connecting
  • Verify behavior with no SSH config hosts (should fall back to input box directly)
  • Verify Include directives in SSH config are respected

🤖 Generated with Claude Code

Replace the plain input box with a QuickPick that lists all configured
SSH hosts from ~/.ssh/config (with HostName, User, Port details).
A fallback "Enter host manually..." option preserves the original
input box flow. The Host alias flows through the remote authority,
so the status bar indicator displays the alias (e.g. "SSH: myserver")
rather than the raw hostname.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@daiyam

daiyam commented Apr 2, 2026

Copy link
Copy Markdown
Collaborator

@christophkroeppl Only publish when your PR is fully done. And, you need to manually review the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants