Skip to content

fix: show configured SSH hosts in Connect to Host picker#279

Open
aloknew157 wants to merge 1 commit into
jeanp413:masterfrom
aloknew157:alok/host-picker-fix
Open

fix: show configured SSH hosts in Connect to Host picker#279
aloknew157 wants to merge 1 commit into
jeanp413:masterfrom
aloknew157:alok/host-picker-fix

Conversation

@aloknew157

Copy link
Copy Markdown

Summary

  • load configured hosts from the parsed SSH config before prompting
  • show a quick-pick list of configured hosts
  • keep manual [user@]hostname[:port] entry as a fallback

Why

@daiyam

daiyam commented May 17, 2026

Copy link
Copy Markdown
Collaborator
  • Remote-SSH: Connect to Host... currently opens a plain input box even when SSH hosts are already configured

Yes, because you can directly type the host name (like host1). It's fast for those who know their hosts.
Those who prefer UI, can use the Remote Explorer panel.

Maybe,

  • the current Remote-SSH: Connect to Host... can be renamed Remote-SSH: Type Host and Connect...
  • the command with the quick pick Remote-SSH: Select Host and Connext...

@GitMensch

Copy link
Copy Markdown
Contributor

Why not using a single one with both string input and picker?

@daiyam

daiyam commented May 26, 2026

Copy link
Copy Markdown
Collaborator

Why not using a single one with both string input and picker?

Not sure if it's possible. I did the issue few years back, maybe it has changed.
@aloknew157 can you take a look into it? Thx

@daiyam

daiyam commented May 26, 2026

Copy link
Copy Markdown
Collaborator

Oh! duplicate of #255...

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.

3 participants