2

Say I want to open new connections to superlongusername1@superlongdomain1.org, superlongusername2@superlongdomain2.org and superlongusername3@superlongdomain3.org frequently, but I don't want to type each one every time. It would be nice if the target was saved the on the first successful connection and then presented to me as an option for ever connection thereafter which then could be incrementally filtered with Helm.

By analogy, it would be very similar to helm-recentf but instead of the file names they would be tramp targets.

  • Uh, Tramp targets are file (or directory) names. recentf works fine with remote files - have you tried it? And you can bookmark remote files... – Drew Jan 10 '17 at 21:16
  • The Tramp manual discusses several approaches to shorten longish file names, see (info "(tramp) Frequently Asked Questions"). I don't know whether they cooperate with helm, 'tho – Michael Albinus Jan 11 '17 at 12:07
2

helm-tramp might be what you are looking for. It reads the connections in ~/.ssh/config and pushes them to the helm interface. I haven't tried helm-tramp yet myself, though.

1

I use tramp in conjunction with bookmarks, so you avoid having to type in long names repeatedly. And there is a command helm-bookmarks, which lets you choose among your bookmarks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.