warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.23k stars 367 forks source link

Has ssh multiplexing ever been considered? #1736

Open ToontjeM opened 2 years ago

ToontjeM commented 2 years ago

Discord username (optional)

Toontje

Describe the solution you'd like?

From https://discord.com/channels/851854972600451112/1009758920400707614/1009908887941546026

It happens a lot to me that i am ssh'ed into an external host and then i want to open a new window or tab reusing that same ssh session, so logged in into the external host. Is this something Warp can do or is this something i need to configure in my ssh client?

I think i'm looking for this to be implemented in Warp: https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing

I am NOT looking for connection profiles!

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

No response

ToontjeM commented 2 years ago

Ok, so i figured this out: I have configured multiplexing. The first time i ssh into the remote host using Terminal i have to provide userid and password (obviously). However, when i open a second Terminal window and i ssh into the same host, it reuses the connection i already have. When i do the same using Warp, the existing connection is not reused. So basically i am asking two things: 1. Honor ssh connection multiplexing configuration and 2. Automatically establish the ssh connection from where the new tab or window was opened in the new tab or window.

elviskahoro commented 2 years ago

Thanks again @ToontjeM

ToontjeM commented 2 years ago

Can you move this one to Discussions so we can vote on it?

elviskahoro commented 2 years ago

We use reactions to help gauge interest on issues. I just added a thumbs up.

Check this view out to see what I mean: https://github.com/warpdotdev/Warp/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc

We use discussions for product memos or to weight the cons and pros of an approach to a feature that is already planned.

andyfore commented 1 year ago

I really hope that this gets more attention on the roadmap. I use SSH session multiplexing for work everyday and the fact that the warp_ssh_helper function doesn't work with it is a big issue. I also opened a Discord thread on this.

eiko4 commented 1 year ago

+1

Nithishwer commented 5 months ago

+1

sphyrnidae8 commented 3 months ago

+1

boxcounter commented 3 months ago

+1