unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* tramp and ssh-agent / ssh-add
@ 2008-03-30 16:16 Roland Winkler
  0 siblings, 0 replies; only message in thread
From: Roland Winkler @ 2008-03-30 16:16 UTC (permalink / raw)
  To: Michael Albinus; +Cc: emacs-devel

I've discussed the following with Michael Albinus on help-gnu-emacs.

The starting point was that I like to run remote emacs sessions as a
subprocess of ssh-agent. When using tramp for file transfer, I need
then ssh-add. The general question is: what is the best way to
communicate from within emacs with the agent?

Right now, I am using a home-made solution that uses a defadvice for
tramp-open-connection-rsh, a function from tramp 2.0, but not
available anymore in tramp 2.1. A hook would be a cleaner
alternative, but again it appears rather limited. Michael pointed
out that not only there is also the gpg agent, but Gnome and KDE
have keyring managers, too, and it might be useful to have a general
interface that allowed one to communicate from within emacs with
these agents. (Personally, I do not know anything about Gnome and
KDE.) Then tramp could use this interface to call ssh-add when
needed, and other packages could use it in a similar way.

I'd greatly prefer such an approach over caching passwords.
(Currently, tramp uses password.el for this which comes from Gnus.)

What do you think?

Roland




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-30 16:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-30 16:16 tramp and ssh-agent / ssh-add Roland Winkler

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