3

Say I want to open new connections to [email protected], [email protected] and [email protected] 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.

2
  • 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, 2017 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 Jan 11, 2017 at 12:07

2 Answers 2

3

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.

2

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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