delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/13/14:10:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <13192157.post@talk.nabble.com>
Date: Sat, 13 Oct 2007 11:09:56 -0700 (PDT)
From: ppmoore <polomora AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How to remotely log in and execute a program
In-Reply-To: <13191124.post@talk.nabble.com>
MIME-Version: 1.0
X-Nabble-From: polomora AT gmail DOT com
References: <13191124 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello again,

Just to say that I found a partial solution, by copying the ssh login keys
generated on Cygwin on the Windows box to the .ssh directory on the remote
Linux box, and then executing from a local Cygwin xterm:
  DISPLAY=localhost:0.0 ssh -Y -C -q user AT remote-machine "command"

But is there a way to do it by running a Cygwin script on the Windows box?

Thanks in advance,
Paul
-- 
View this message in context: http://www.nabble.com/How-to-remotely-log-in-and-execute-a-program-tf4618783.html#a13192157
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019