From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: Enlarging the question Was: Re: Does pclcvs support ssh protocol ? Date: Sat, 23 Feb 2008 03:00:16 +0100 Organization: GNU's Not UNIX! Message-ID: <200802230200.m1N20GCk007421@localhost.localdomain> References: <20080222.075409.183050664.devel@pollock-nageoire.net> <20080221231156.6ee15c74@reforged> <20080222.093951.48490765.devel@pollock-nageoire.net> <87r6f58i1q.fsf@gmail.com> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1203734061 16820 80.91.229.12 (23 Feb 2008 02:34:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2008 02:34:21 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thierry Volpiatto Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 23 03:34:45 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 1JSkDr-0003oz-CL for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Feb 2008 03:34:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSkDL-0002Js-FF for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Feb 2008 21:34:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSkD3-0002IU-6m for help-gnu-emacs@gnu.org; Fri, 22 Feb 2008 21:33:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSkD2-0002Ht-JD for help-gnu-emacs@gnu.org; Fri, 22 Feb 2008 21:33:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSkD2-0002Hm-3u for help-gnu-emacs@gnu.org; Fri, 22 Feb 2008 21:33:52 -0500 Original-Received: from master.uucpssh.org ([193.218.105.66]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JSkD1-00031K-JK for help-gnu-emacs@gnu.org; Fri, 22 Feb 2008 21:33:51 -0500 Original-Received: by master.uucpssh.org (Postfix, from userid 10) id 8227BC83AA; Sat, 23 Feb 2008 03:32:24 +0100 (CET) Original-Received: from localhost.localdomain (IDENT:1000@localhost [127.0.0.1]) by localhost.localdomain (8.14.1/8.13.8) with ESMTP id m1N20N81007443; Sat, 23 Feb 2008 03:00:25 +0100 Original-Received: (from xma@localhost) by localhost.localdomain (8.14.1/8.13.8/Submit) id m1N20GCk007421; Sat, 23 Feb 2008 03:00:16 +0100 In-reply-to: <87r6f58i1q.fsf@gmail.com> (message from Thierry Volpiatto on Fri, 22 Feb 2008 10:19:29 +0100) User-Agent: Rmail in GNU Emacs 23.0.60.2 on GNU/Linux Jabber-ID: xma01@jabber.fr X-uucpssh: Found to be clean X-uucpssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.318, required 4.6, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.01, BAYES_00 -2.60, SPF_HELO_PASS -0.00, TW_SV 0.08) X-uucpssh-From: xma@gnu.org X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:51778 Archived-At: Pierre Lorenzon writes: > From: Mike Mattie > Subject: Re: Does pclcvs support ssh protocol ? > Date: Thu, 21 Feb 2008 23:11:56 -0800 > >> On Fri, 22 Feb 2008 07:54:09 +0100 (CET) >> Pierre Lorenzon wrote: >> >> > From: Michael Hoffman >> > Subject: Re: Does pclcvs support ssh protocol ? >> > Date: Thu, 21 Feb 2008 20:31:54 +0000 >> > >> > > Pierre Lorenzon wrote: >> > > >> > > > Notice that I still do not have the answer to my question : >> > > > "yes or not is this password transaction implemented in >> > > > pcl-cvs like in tramp ?" >> > > >> > > Now the question has changed. >> > >> > >> > Not really ! >> > >> > Pierre >> > >> > >> > >> >> The answer is clearly ssh-agent. There are a large number of security issues regarding keys, >> memory locking, timed expiration, secure entry, etc. Emacs doesn't need to jump through all these >> hoops when ssh-agent,pin-entry,gpg do this sort of thing >> correctly with a robust code-base. > > Yes ! do you mean that tramp for instance uses ssh-agent ? It > might be ; I didn't examine the code to answer this question > ... Yes tramp use ssh-agent, if ssh-agent is started; if not you are prompted for a passphrase (you have to create keys and use keys system, not password). I don't use cvs for my files, i use svn. With svn if you do your checkout throught ssh, and ssh-agent+keys system is enabled, when you commit the change in your file, svn use automaticly ssh with tramp. Do you have any good tuto to set this up ? I am one of these lazy people who'd rather type their password every two minutes ;) Ssh-agent could save me some precious time. Lat time I read about this, it was a pain (for me) to understand. AFAIK, depending on how one is starting GNU Emacs, the setup changes. I am mostly working from the linux console, GNU Emacs is launched through a screen server session which I am connecting with the help of emacsclient. I even have a system account which default login shell is /usr/bin/emacs thus I do not see how ssh-agent could be setup in this case. Regards Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org