Emacs Tramp asking for password

2019-05-21, updated 2019-05-23 — emacs tech   ⇦Disqus and javascript random thoughtsTikz snippet preview in orgmode⇨

For about a week, every time I initialized emacs, Tramp would constantly ask for my password, both for sudo and for ssh.

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 ())

Author: Ivan Tadeu Ferreira Antunes Filho

Date: 2022-07-23 Sat 05:11

Github: github.com/itf

Made with Emacs 27.1 (Org mode 9.3) and Org export head