From: Perry Smith <pedzsan@gmail.com>
To: C K Kashyap <ckkashyap@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: keyboard macro to record scp (password)
Date: Mon, 11 Jul 2011 07:24:49 -0500 [thread overview]
Message-ID: <FB79A623-20D3-4F88-8A25-6ACA39EFEE8B@gmail.com> (raw)
In-Reply-To: <CAGdT1gqYew_8EeZzA_VQn-9MAq=dcA9WMBTKbj4TweabdH-P+A@mail.gmail.com>
On Jul 11, 2011, at 6:00 AM, C K Kashyap wrote:
> Hi,
> I need to do scp multiple times (and in this case, authorized_keys thingy is not an option). I tried to record a keyboard macro to record the scp action - including the password entry - but that does not seem to work. The password gets typed even before the its prompted for. How do I get around this?
A few others have replied along the ssh / tramp lines. As far as the password, sometimes you can do sit-for to get simple interactions to work.
I'm also not clear what "scp multiple times" means. Are you going to intermediate hosts? e.g. A => B and then B => C ?
pedz
next prev parent reply other threads:[~2011-07-11 12:24 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 [this message]
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
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=FB79A623-20D3-4F88-8A25-6ACA39EFEE8B@gmail.com \
--to=pedzsan@gmail.com \
--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.