From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Loris Bennett" Newsgroups: gmane.emacs.help Subject: Re: tramp and ssh-key passphrase Date: Mon, 29 Feb 2016 08:24:34 +0100 Organization: Freie Universitaet Berlin Message-ID: <877fhouggd.fsf@hornfels.zedat.fu-berlin.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456730720 2158 80.91.229.3 (29 Feb 2016 07:25:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Feb 2016 07:25:20 +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 Feb 29 08:25:19 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 1aaICl-00031u-D4 for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 08:25:19 +0100 Original-Received: from localhost ([::1]:34875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaICk-0000lW-QT for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 02:25:18 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-X-Trace: news.uni-berlin.de omAS0kuKQwWfrR5vIZBBewoXTEtb4yqAezrs+rLod3lnfm Cancel-Lock: sha1:68CvDR4lS/Uk3PDTEtlmYkSo8Mg= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:217073 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:109366 Archived-At: lee writes: > 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? > > It's asking for the passphrase every time emacs wants to perform an > autosave, and I don't really want to turn off autosaving or to use a key > that doesn't require a passphrase. > > I wouldn't mind defaulting to autosaving locally when editing remote > files, though. Maybe that can be done somehow? > > The way it is kinda defeats the comfort of being able to edit remote > files ... Try setting up an SSH agent. That way you just have to enter the passphrase once per session. Cheers, Loris -- This signature is currently under construction.