From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: help-gnu-emacs@gnu.org
Subject: Re: tramp and ssh-key passphrase
Date: Mon, 29 Feb 2016 08:24:34 +0100 [thread overview]
Message-ID: <877fhouggd.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: mailman.6191.1456683386.843.help-gnu-emacs@gnu.org
lee <lee@yagibdah.de> 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.
next parent reply other threads:[~2016-02-29 7:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.6191.1456683386.843.help-gnu-emacs@gnu.org>
2016-02-29 7:24 ` Loris Bennett [this message]
2016-03-18 19:38 ` tramp and ssh-key passphrase lee
2016-03-18 20:21 ` Jorge A. Alfaro-Murillo
2016-02-28 14:28 lee
2016-02-29 9:15 ` Michael Albinus
2016-02-29 12:49 ` Peter Münster
2016-03-18 19:39 ` lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877fhouggd.fsf@hornfels.zedat.fu-berlin.de \
--to=loris.bennett@fu-berlin.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).