From: Michael Albinus <michael.albinus@gmx.de>
To: 46674@debbugs.gnu.org
Cc: spacibba@aol.com
Subject: bug#46674: 28.0.50; Tramp ignores tramp-completion-use-auth-sources
Date: Sun, 21 Feb 2021 15:03:58 +0100 [thread overview]
Message-ID: <87mtvxqzzl.fsf@gmx.de> (raw)
In-Reply-To: <20210221052134.dh5dva3yw5gguwb5@Ergus> (Ergus via's message of "Sun, 21 Feb 2021 06:21:34 +0100")
Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@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.
next prev parent reply other threads:[~2021-02-21 14:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210221052134.dh5dva3yw5gguwb5.ref@Ergus>
2021-02-21 5:21 ` bug#46674: 28.0.50; Tramp ignores tramp-completion-use-auth-sources Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-21 14:03 ` Michael Albinus [this message]
2021-02-22 15:03 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mtvxqzzl.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=46674@debbugs.gnu.org \
--cc=spacibba@aol.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.