From: Michael Albinus <michael.albinus@gmx.de>
To: C K Kashyap <ckkashyap@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: keyboard macro to record scp (password)
Date: Tue, 12 Jul 2011 09:19:24 +0200 [thread overview]
Message-ID: <8762n82cg3.fsf@gmx.de> (raw)
In-Reply-To: <CAGdT1go6e2A6H6KXvE8B_rXPzpXaCgkyCZjx1qROwLpkX6=BJw@mail.gmail.com> (C. K. Kashyap's message of "Tue, 12 Jul 2011 10:49:02 +0530")
C K Kashyap <ckkashyap@gmail.com> writes:
> I tried Tramp and its really cool. I am certainly going to use it for
> editing remote files. A quick question .... looks like it was
> automatically able to cache the password for subsequent C-x C-f -
> however, it prompts for password for each M-x shell
Tramp uses password-cache.el. Check variable password-cache-expiry. Its
default value is 16 (passwords expire after 16 seconds). If you change
this value to t, passwords do not expire during the lifetime of your
Emacs session.
They won't be stored in a file, just kept in memory.
> My original usecase however is to be able to "cache" passwords in
> eshell - perhaps, I need to modify the keyboard macro recording to
> wait for a bit (till the password is prompted for) before re-playing
> the password.
Tramp is also compatible with eshell. See the Tramp manual for use cases.
> Regards,
> Kashyap
Best regards, Michael.
prev parent reply other threads:[~2011-07-12 7:19 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-11 11:00 keyboard macro to record scp (password) C K Kashyap
2011-07-11 11:29 ` Michael Albinus
2011-07-11 11:34 ` suvayu ali
2011-07-11 12:24 ` Perry Smith
2011-07-11 13:09 ` C K Kashyap
2011-07-11 13:52 ` Michael Albinus
2011-07-11 14:02 ` C K Kashyap
2011-07-11 14:20 ` Michael Albinus
2011-07-11 14:53 ` Deniz Dogan
2011-07-11 18:06 ` suvayu ali
2011-07-12 5:19 ` C K Kashyap
2011-07-12 6:14 ` Peter Münster
2011-07-12 10:11 ` C K Kashyap
2011-07-12 10:50 ` C K Kashyap
2011-07-12 12:49 ` Peter Münster
2011-07-12 6:23 ` Suvayu Ali
2011-07-12 6:29 ` C K Kashyap
2011-07-12 6:40 ` Suvayu Ali
2011-07-12 7:07 ` C K Kashyap
2011-07-12 8:47 ` Suvayu Ali
2011-07-12 7:22 ` Michael Albinus
2011-07-12 7:19 ` Michael Albinus [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8762n82cg3.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=ckkashyap@gmail.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.