GNU bug report logs -
#46674
28.0.50; Tramp ignores tramp-completion-use-auth-sources
Previous Next
Reported by: Ergus <spacibba <at> aol.com>
Date: Sun, 21 Feb 2021 05:23:01 UTC
Severity: normal
Found in version 28.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:
Hi,
> The function: tramp-read-passwd calls auth-source-search
> unconditionally, and ignores tramp-completion-use-auth-sources.
tramp-completion-use-auth-sources suppresses auth-source based
completion only for completing user and host names in the minibuffer.
If you want to suppress the use of auth-source also for passwords, Tramp
2.5 describes the following in its manual:
--8<---------------cut here---------------start------------->8---
In case you do not want to use an authentication file for TRAMP
passwords, use connection-local variables (*note (emacs)Connection
Variables::) like this:
(connection-local-set-profile-variables
'remote-without-auth-sources '((auth-sources . nil)))
(connection-local-set-profiles
'(:application tramp) 'remote-without-auth-sources)
--8<---------------cut here---------------end--------------->8---
Best regards, Michael.
This bug report was last modified 4 years and 174 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.