From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: C K Kashyap Newsgroups: gmane.emacs.help Subject: Re: keyboard macro to record scp (password) Date: Mon, 11 Jul 2011 18:39:21 +0530 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001517475f5247bdcb04a7cae4b2 X-Trace: dough.gmane.org 1310390228 23998 80.91.229.12 (11 Jul 2011 13:17:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2011 13:17:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Perry Smith Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 11 15:17:04 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QgGMB-0005Hk-K7 for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Jul 2011 15:17:03 +0200 Original-Received: from localhost ([::1]:58231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgGMA-0007bL-Ao for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Jul 2011 09:17:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgGEm-0006BP-So for help-gnu-emacs@gnu.org; Mon, 11 Jul 2011 09:09:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgGEl-0007Wv-A1 for help-gnu-emacs@gnu.org; Mon, 11 Jul 2011 09:09:24 -0400 Original-Received: from mail-fx0-f52.google.com ([209.85.161.52]:38809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgGEk-0007Wo-So for help-gnu-emacs@gnu.org; Mon, 11 Jul 2011 09:09:23 -0400 Original-Received: by fxd18 with SMTP id 18so295714fxd.39 for ; Mon, 11 Jul 2011 06:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/49OoQ/HiM3WnvayHIkwGn96aj+ZOkzc0GqF5gqR5Ow=; b=mRahsGKEc2GNCWrA2+HvsEZGKORrrc09rINd5FHgQyymEjJoi8O4xo+XlldzGGWFUU VzdNRuoQmOcv3pYqRBWTqhq41UCYa4zfOJCIfrm3olIysc+8ll0TN7Oi9LOS/eyGaPXN kCTRmZ+wRTB+8ddJ+ZZ19wW1cR4nzvu9PUVIk= Original-Received: by 10.223.7.150 with SMTP id d22mr7436415fad.17.1310389761981; Mon, 11 Jul 2011 06:09:21 -0700 (PDT) Original-Received: by 10.223.86.66 with HTTP; Mon, 11 Jul 2011 06:09:21 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.52 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:81538 Archived-At: --001517475f5247bdcb04a7cae4b2 Content-Type: text/plain; charset=ISO-8859-1 Thanks folks, Here are a couple of clarification points - 1. I am not using tramp 2. The usecase is as follows - I need to ssh into a server where I manipulate a file and then I have to scp the file into a local machine that requires me to enter password. I need to repeat this a number of times - but each time, its the same file so, essentially I just have to re-execute the same scp command - scp file localmachine:/path .... I'd like to record the copying action into a keyboard macro that I can playback. I'd like to be able to solve it with just emacs - I mean, this situation is really common for me so it would be great if I could get a plain vanilla emacs solution to this. Regards, Kashyap --001517475f5247bdcb04a7cae4b2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks folks,
=A0
Here are a couple of clarificati= on points -
=A0
1. I am not using tramp
2. T= he usecase is as follows - I need to ssh into a server where I manipulate a= file and then I have to scp the file into a local machine that requires me= to enter password. I need to repeat this a number of times - but each time= , its the same file so, essentially I just have to re-execute the same scp = command - scp file localmachine:/path .... I'd like to record the copyi= ng action into a keyboard macro that I can playback.
I'd like to be able to solve it with just emacs - I mean, th= is situation is really common for me so it would be great if I could get a = plain vanilla emacs solution to this.
=A0
Regards,
Kashyap
--001517475f5247bdcb04a7cae4b2--