Emacs Tramp asking for password

2019-05-21, updated 2019-05-23 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: 2019-11-27 Wed 01:29

Github: github.com/itf

Made with Emacs 27.0.50 (Org mode 9.1.9) and Org export head