From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.help Subject: Re: tramp and ssh-key passphrase Date: Fri, 18 Mar 2016 20:39:46 +0100 Organization: my virtual residence Message-ID: <8760wjfud9.fsf@heimdali.yagibdah.de> References: <87fuwcykn3.fsf@heimdali.yagibdah.de> <87povflvw7.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458331454 30140 80.91.229.3 (18 Mar 2016 20:04:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2016 20:04:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 18 21:04:10 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ah0cy-0008Vi-Us for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Mar 2016 21:04:09 +0100 Original-Received: from localhost ([::1]:46082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah0cy-0002sH-81 for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Mar 2016 16:04:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah0ci-0002qy-SV for help-gnu-emacs@gnu.org; Fri, 18 Mar 2016 16:03:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ah0ce-0007zf-FY for help-gnu-emacs@gnu.org; Fri, 18 Mar 2016 16:03:52 -0400 Original-Received: from acheron.yagibdah.de ([185.55.75.245]:45924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah0ce-0007zV-6y for help-gnu-emacs@gnu.org; Fri, 18 Mar 2016 16:03:48 -0400 Original-Received: from heimdali.yagibdah.de ([192.168.3.20]) by acheron.yagibdah.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.85) (envelope-from ) id 1ah0cb-00077E-9E for help-gnu-emacs@gnu.org; Fri, 18 Mar 2016 21:03:45 +0100 Original-Received: from lee by heimdali.yagibdah.de with local (Exim 4.85) (envelope-from ) id 1ah0cb-0003OO-7G for help-gnu-emacs@gnu.org; Fri, 18 Mar 2016 21:03:45 +0100 In-Reply-To: <87povflvw7.fsf@gmx.de> (Michael Albinus's message of "Mon, 29 Feb 2016 10:15:52 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Mail-Followup-To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.55.75.245 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109622 Archived-At: Michael Albinus writes: > lee writes: > >> Hi, > > Hi, > >> is there a way to have tramp cache the passphrase of the ssh key I'm >> using to edit a remote file --- or some other way which doesn't require >> me to enter the passphrase all the time? > > There is the recommendation to use ssh-agent, which is always good. > > Another solution would be (setq password-cache-expiry nil) Cool, I'll try that because the ssh-agent doesn't work. -- GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, X toolkit) of 2016-03-18 on heimdali