help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp and ssh-key passphrase


From: Loris Bennett
Subject: Re: tramp and ssh-key passphrase
Date: Mon, 29 Feb 2016 08:24:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]