This package shows completion with all known SSH hosts and connects to the
selected one through TRAMP. The advantage over the built-in Emacs functionality
is that you don’t have to C-x C-f
which Evil users are not used to, and you
don’t have to remember the remote file syntax: /ssh:user@host:/path/to/file
.
The package is not available in MELPA yet.
(use-package tramp-menu
:quelpa (tramp-menu
:fetcher github
:repo "FrostyX/tramp-menu"))
The M-x tramp-menu
commands works out of the box without any additional
configuration required. However some options are customizable.
What shell should be opened on the remote machine?
(setq tramp-menu-shell #'vterm)
The default option is #'shell
but other interesting choices are #'eshell
,
#'vterm
, #'eat
or #'dired-jump
.
If you want to configure a user, proxy settings or any other SSH option,
configure your $HOME/.ssh/config
. For example:
Host abathur
User frostyx