From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.help Subject: tramp and ssh-key passphrase Date: Sun, 28 Feb 2016 15:28:16 +0100 Organization: my virtual residence Message-ID: <87fuwcykn3.fsf@heimdali.yagibdah.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456683401 21317 80.91.229.3 (28 Feb 2016 18:16:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Feb 2016 18:16:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 28 19:16:41 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 1aa5tX-0006RD-Tk for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Feb 2016 19:16:40 +0100 Original-Received: from localhost ([::1]:60125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa5tX-00023a-Ax for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Feb 2016 13:16:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa2Ki-0003Ro-Nh for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 09:28:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa2Kf-00063t-IB for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 09:28:28 -0500 Original-Received: from acheron.yagibdah.de ([185.55.75.245]:45434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa2Kf-00063j-BK for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 09:28:25 -0500 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 1aa2Kc-0001Fs-Ca for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 15:28:22 +0100 Original-Received: from lee by heimdali.yagibdah.de with local (Exim 4.85) (envelope-from ) id 1aa2Kc-00055S-AP for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 15:28:22 +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-Mailman-Approved-At: Sun, 28 Feb 2016 13:16:25 -0500 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:109359 Archived-At: 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 ... -- GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, X toolkit) of 2015-09-26 on heimdali