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.28k stars 371 forks source link

Bookmarks for SSH connections #2127

Open nowherenearaninja opened 1 year ago

nowherenearaninja commented 1 year ago

Discord username (optional)

No response

Describe the solution you'd like?

Would be awesome to be able to choose from a list of previously bookmarked or saved SSH servers to make connections easier.

Maybe something like this:

Preconfigure a SSH connection with hostname and username/passwd or embed a certificate.
Save that as a link/bookmark or something similar.
Preferably in some folder or category/subcategory structure.

This way I can then open a single ssh connection by just choosing it in the bookmark list.
Or multiple by choosing to connect to all hosts in a folder/subcategory

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

Connection to multiple hosts is annoying when you do it multiple times per day.
Think scenario like setting up demo environments with a large amount of ssh hosts.

Additional context

No response

How important is this feature to you?

4

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

No response

Frohus commented 1 year ago

Just came here to post that. iTerm2 has profiles tab, it would be useful to have something similar in Warp

tleveque23 commented 1 year ago

This is the first thing I check when I opened Warp. Since it does not exist, I have to go back to iTerm. This is absolutely mandatory for my day to day work.

rseichter commented 1 year ago

Same as @tleveque23 : The lack of profile support in Warp is a hard showstopper for me. I'll stick with iTerm2, which allows me to open multiple SSH sessions at once, based on profiles.

paglySalva commented 1 year ago

Same here. I really like warp, its clean and nice. However, profiles support is a must for my productivity at work. I will keep an eye out for this to be included in new versions.

dannyneira commented 1 year ago

Hi All, thanks for the feedback and request! While we don't support profiles we will provide updates here if/when we do.

As a possible workaround for your use case, we have Launch Configurations which can be set up to connect to an SSH session on launch( this has to be set manually in the launch config yaml file ). See example: https://docs.warp.dev/features/sessions/launch-configurations#commands

esycat commented 1 year ago

I believe Launch Configurations in Warp are essentially the same as Profiles in iTerm, just not as feature-rich.

Regarding SSH bookmarks, would it be practical to parse ~/.ssh/config, display a list of defined hosts, and SSH to the selected host on enter? Though, on second thought, SSH config supports wildcards in Hosts, so that won't work…

f1rstC0de commented 1 year ago

Hello!

I'm not completely sure, but it seems that these are essentially the same issue https://github.com/warpdotdev/Warp/issues/1866

And if for such a large number of users (including myself) the absence of this functionality is a blocker for using warp in their daily work, maybe it is worth giving its development the highest priority?

Just give a tool that will allow you to remember the parameters of the sessions without unnecessary gestures. And if it is possible to combine sessions into a group (I described my vision of the implementation in the attached issue https://github.com/warpdotdev/Warp/issues/1866#issuecomment-1299591157) and use common secrets to connect to servers, then your product will have no competitors in the market.

ae86sen commented 1 year ago

SSH bookmarks is very very very important feature to me~before this feature goes live, I may not consider using Wrap.

evanharmon1 commented 1 year ago

Just want to add my vote that ssh profiles/bookmarks is the one thing keeping me from switching to Warp from iTerm. Ideally something as powerful as iTerm's profiles where I can save an ssh connection and tag it with things like prod, ec2, appName, etc. and then have a GUI menu I can navigate based on those tags. Ie, I right-click on the iTerm icon and I can hover over prod or ec2 and it lists those hosts that have that tag. It works great and would make Warp great!

ZheCheng commented 7 months ago

I can’t believe it. It doesn’t even have this basic function, and it has never been added. I don’t know what the team’s considerations are for not adding such a basic function. @dannyneira

pwinntii commented 2 months ago

It seems clear the Warp team is focused on delivering the full Warp experience, which often isn't possible with SSH connections, especially if the remote server isn't running a supported shell. But you're asking us as users to give up our existing apps for Warp, and our existing apps support bare-bones SSH connections.

In my case, I use iTerm2 currently, and I have profiles for two remote servers, so I can hit Shift+Cmd+W or Shift+Cmd+E at any time to open a new tab that connects directly to those servers, and I do so multiple times per day, every day. Launch configurations don't quite scratch that itch!

I tried setting up launch configurations to do command ssh hostname, but then I have a command running so I cannot use Notebooks, for example. For me, the killer feature was going to be using a Notebooks to replace a separate TextEdit document I copy and paste from into ssh sessions, but "a command is already running" (the ssh command), so no.

Yes, it will be sad for Warp devs to see people using their beautiful program to do plain ordinary ssh with no awareness of anything, but I'm sure I'm not alone in abandoning Warp because it lacks this.

rseichter commented 2 months ago

(...) I'm sure I'm not alone in abandoning Warp because it lacks this.

@pwinntii Abandoning would imply having used Warp for some time in the first place. I am not going to give Warp more than the brief first glance I already had, because SSH profiles/bookmarks are conditio sine qua non for me personally. The fact that this issue is unresolved since November 2022 seems to me like a clear indication that the development team is not taking this seriously.

pwinntii commented 2 months ago

@rseichter I started using Warp on a new work laptop a week ago, and only tried installing it on my personal laptop yesterday--which is when I noticed the lack of profiles that I use for SSH connection.

I have seen in one of these many issues a suggestion that they intended to focus on SSH at some level in 2024, but right now my debate is over whether to install iTerm2 on the new work laptop, or use different programs on each laptop.

Maybe it was https://github.com/warpdotdev/Warp/issues/5095#issuecomment-2221375858 "we'll be working on further SSH improvements soon" 3 weeks ago, and then also https://github.com/warpdotdev/Warp/issues/5003#issuecomment-2161105461 "for now until we have SSH management and profiles" from June.