help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp and ssh-agent / ssh-add


From: Tim X
Subject: Re: tramp and ssh-agent / ssh-add
Date: Mon, 31 Mar 2008 17:44:08 +1000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"Roland Winkler" <address@hidden> writes:

> On Sun Mar 30 2008 Michael Albinus wrote:
>> Tramp 2.0 does not offer such a hook. 
>
> Would you be able to add one? I know at least one person who would
> greatly appreciate it.  :-)
> And if its purpose (one of its possible purposes) was properly
> documented, I could well imagine that more people would like to use
> it.
>
> (I know that tramp is intended to provide a general scheme for file
> transfer. Are there other schemes besides beside ssh that use an
> agent like ssh? Gpg comes with an agent. But I guess that this is a
> different story.)
>

gpg agent is similar to ssh-agent, but for gpg keys. I'm assuming that
if your security concious, your connectinig to the remote system via ssh
already, so I don't see any difference in typing the passphrase into
ssh-add prior to starting emacs compated to typing it in emacs itself. 

I don't like the idea of password caching etc within emacs for tramp
etc. This is the sort of stuff that is all too easy to get wrong and
prefer to leave it to programs that are specifically designed to deal
with such things rather than to something added onto another program to
provide more convenience. 

If you use gnome, you can take advantage of 'seahorse', which provides a
unified way of handling ssh and gpg keys and other things security
related. With seahorse, you are prompted for the passphrase the first
time you try to do something that requires a key and then it manages
things for you so that on subsequent requests for the key, it is all
handled in the background. 

Tim



-- 
tcross (at) rapttech dot com dot au


reply via email to

[Prev in Thread] Current Thread [Next in Thread]