Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI for managing SSH sessions #13327

Closed
ohault opened this issue Jun 19, 2022 · 3 comments
Closed

UI for managing SSH sessions #13327

ohault opened this issue Jun 19, 2022 · 3 comments
Labels
Area-Extensibility A feature that would ideally be fulfilled by us having an extension model. Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Product-Terminal The new Windows Terminal.

Comments

@ohault
Copy link

ohault commented Jun 19, 2022

Description of the new feature/enhancement

To open a SSH session, it's currently a pain to have first to add a profile with a specific command with parameters to launch either Putty or ssl just to connect to a SSH server from Terminal. It's even worse if you have to connect to this SSH server only once, because you have to delete this profile later.

This feature with provide a simple way for users to open a SSH session directly from the main Terminal windows (top bar)

Proposed technical implementation details (optional)

Without the need to create a profile, the user will select new ( "/ SSH session") directly from the top bar, a basic UI will open to fill connection parameters, an option to save it as a profile, and a Connect button.

If a profile has been created, the user could later simply use it to connect to the given SSH server

@ohault ohault added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Jun 19, 2022
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jun 19, 2022
@zadjii-msft
Copy link
Member

The party line is that the Terminal is a great terminal emulator. That's what we're trying to be first and foremost - not a ssh client. This is a really good idea for someone to write an extension in the future (when those are supported, see #4000), but it's not something we'll be adding ourselves.

There is a request open for creating dynamic profiles from .sshconfig, and I think that's a really neat idea (see #9031). That might help bridge the gap here. I suspect it wouldn't be too hard for someone to write a UI for configuring that quickly, and then we could ingest those changes.

Other similar discussions:

Thanks!

@ohault
Copy link
Author

ohault commented Jun 21, 2022

I agree, there are two parts in this feature request:

In one hand, there is the "Dynamic Profiles" but not limited to .sshconfig, because it also applies to WSL, Remote Power Shell, etc. The need is here to have a generic entry from the top bar like "Connect to". This "Connect to" should be able to enumerate targets based on there type (SSH, WSL, Remote PowerShell, etc ) and memorised your favorites.

On the other hand, there is the backend type. Here SSH is just another flavour to complement WSL, Remote PowerShell,..., but a required one as we can see with all others requests about it.

@zadjii-msft
Copy link
Member

I've been noodling on this for a while. Yes, this is a cool idea, and would definitely be useful, we simply don't have the engineering resources to optimize the Terminal for ssh seesion management like this. We're hoping to make the Terminal the optimal general purpose terminal emulator, with support for lots of types of ssh connections. But ultimately we don't have the time to create new UIs and settings structures to support this.

I'm all for someone building a tool for graphical management of SSH sessions, and even for persisting them in a way the Terminal can ingest as fragment profiles. That would be a great way to go about this! But unfortunately, that's just not going to be something shipped inside the Terminal itself.

Thanks for the suggestion and discussion!

@zadjii-msft zadjii-msft closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2022
@zadjii-msft zadjii-msft added Area-Extensibility A feature that would ideally be fulfilled by us having an extension model. Product-Terminal The new Windows Terminal. labels Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Extensibility A feature that would ideally be fulfilled by us having an extension model. Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

2 participants