From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: tramp and ssh-agent / ssh-add Date: Mon, 31 Mar 2008 17:44:08 +1000 Organization: Rapt Technologies Message-ID: <87ve335odz.fsf@lion.rapttech.com.au> References: <87zlsg8ghk.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206952855 22146 80.91.229.12 (31 Mar 2008 08:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 08:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 31 10:41:27 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JgFZx-0002wH-4C for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2008 10:41:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgFZK-0008CC-My for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2008 04:40:42 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!sn-xt-sjc-04!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:AZRtH9fJprTnecBm1xVzk39Z3RY= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 41 Original-Xref: shelby.stanford.edu gnu.emacs.help:157517 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52888 Archived-At: "Roland Winkler" 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