ability to import/show hosts configured in ~/.ssh/config #17333

Closed
opened 2026-01-31 05:39:27 +00:00 by claunia · 3 comments
Owner

Originally created by @mrtnd on GitHub (Apr 26, 2022).

Description of the new feature/enhancement

It would be very handy to be able to import the hosts configured in ~/.ssh/config file as profiles. Or to be imported automatically if it detected that there are hosts configured. I have couple servers where i do remote development on, using vscode. And vscode is using the ~/.ssh/config file for the hosts. Which is very handy. Sometime i only need a terminal. But since Windows Terminal is using its own settigns.json file i need to maintain two different config files for my hosts, which is a little inconvenient.

Proposed technical implementation details (optional)

Maybe a switch in the settings that would scan ~/.ssh/config and import hosts if any are configured. Something like:
"importHostsFromSSHConfigFile": true/false,

Originally created by @mrtnd on GitHub (Apr 26, 2022). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement It would be very handy to be able to import the hosts configured in _~/.ssh/config_ file as profiles. Or to be imported automatically if it detected that there are hosts configured. I have couple servers where i do remote development on, using vscode. And vscode is using the _~/.ssh/config_ file for the hosts. Which is very handy. Sometime i only need a terminal. But since Windows Terminal is using its own _settigns.json_ file i need to maintain two different config files for my hosts, which is a little inconvenient. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) Maybe a switch in the settings that would scan ~/.ssh/config and import hosts if any are configured. Something like: `"importHostsFromSSHConfigFile": true/false,` <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 05:39:27 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Apr 26, 2022):

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #9031 for more discussion.

/dup #9031

@zadjii-msft commented on GitHub (Apr 26, 2022): Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #9031 for more discussion. /dup #9031
Author
Owner

@ghost commented on GitHub (Apr 26, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Apr 26, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@mrtnd commented on GitHub (Apr 26, 2022):

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #9031 for more discussion.

/dup #9031

Hi Thank for the reply. I was searching for an similar issue, but for some reason did not find it... That's why I opened a new one. Thanks!

@mrtnd commented on GitHub (Apr 26, 2022): > Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #9031 for more discussion. > > /dup #9031 Hi Thank for the reply. I was searching for an similar issue, but for some reason did not find it... That's why I opened a new one. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17333