Tramp with dired-mode can use the authinfo
file to automatically login. This avoids setting up keys in the .ssh
directory and also on the remote server.
Q: How can I modify the behavior of eshell
to access the authinfo
file to automatically login to a remote server.
[CAVEAT: I do not want to piggy-back by opening a Tramp dired-mode
buffer and then launching eshell
-- i.e., I want eshell
to access the authinfo
file without the help of dired-mode
.]
[I am aware of the option to use a utility called sshpass
, but I'd like to use the authinfo
file.]
shell-mode
: reddit.com/r/emacs/comments/6jwjhw/… – lawlist Jun 30 '17 at 2:51