Emacs Tramp asking for password
For about a week, every time I initialized emacs, Tramp would constantly ask for my password, both for
sudo and for
This means that in the recent file list there is a sudo file or a ssh file, and everytime emacs initialize, it is trying to load this list (which requires it to re-ask for the password if it is not saved).
If this happens to you, the easiest fix is to clean the recent file lists by running:
(setq session-file-alist ()) (setq file-name-history ())