unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* tramp-auto-auth.el --- TRAMP automatic authentication library
@ 2019-08-23  2:08 Bruno Félix Rezende Ribeiro
  2019-08-27 10:12 ` Michael Albinus
  0 siblings, 1 reply; 8+ messages in thread
From: Bruno Félix Rezende Ribeiro @ 2019-08-23  2:08 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1755 bytes --]


Hello Emacs developers,

Please, find attached ‘tramp-auto-auth.el’.  Quoting from its commentary
header section:

  This library provides ‘tramp-auto-auth-mode’: a global minor mode
  whose purpose is to automatically feed TRAMP sub-processes with
  passwords for paths matching regexps.  This is useful in situations
  where interactive user input is not desirable or feasible.  For
  instance, in sub-nets with large number of hosts or whose hosts have
  dynamic IPs assigned to them.  In those cases it’s not practical to
  query passwords using the ‘auth-source’ library, since this would
  require each host to be listed explicitly and immutably in a Netrc
  file.  Another scenario where this mode is useful are non-interactive
  Emacs sessions (like those used for batch processing or by evaluating
  ‘:async’ Org Babel source blocks) in which it’s impossible for the
  user to answer a password-asking prompt.

This library has proved extremely useful for my work using Emacs to
access remote machines in the aforementioned conditions and whose
authentication policies I couldn’t change.  For quite some time, I’ve
searched extensively for ways of accomplishing the same task with a
practical setup, to no avail.  Perhaps you could comment on alternative
approaches you had experience with but I failed to contemplate.

I’d like to discuss this implementation’s deficiencies and get your
insights and perspectives onto the problem this code is supposed to
solve.  I also would like to discuss how equivalent functionality could
make its way to the standard distribution, in case other people find it
useful enough to be worth supporting out-of-the-box.


Thanks in advance,
Bruno


[-- Attachment #2: tramp-auto-auth.el --]
[-- Type: application/emacs-lisp, Size: 4524 bytes --]

[-- Attachment #3: Type: text/plain, Size: 255 bytes --]


-- 
 88888  FFFFF Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
 8   8  F     http://oitofelix.freeshell.org/
 88888  FFFF  mailto:oitofelix@gnu.org
 8   8  F     irc://chat.freenode.org/oitofelix
 88888  F     xmpp://oitofelix@riseup.net

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-09-01 15:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-23  2:08 tramp-auto-auth.el --- TRAMP automatic authentication library Bruno Félix Rezende Ribeiro
2019-08-27 10:12 ` Michael Albinus
2019-08-28 23:50   ` Bruno Félix Rezende Ribeiro
2019-08-29 11:04     ` Michael Albinus
2019-08-31 23:29       ` Bruno Félix Rezende Ribeiro
2019-09-01  9:59         ` Michael Albinus
2019-09-01 12:53       ` Stefan Monnier
2019-09-01 15:35         ` Michael Albinus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).