X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sat, 13 Oct 2007 11:22:21 -0700 From: Gary Johnson To: cygwin AT cygwin DOT com Subject: Re: How to remotely log in and execute a program Message-ID: <20071013182220.GB8632@suncomp1.spk.agilent.com> Mail-Followup-To: cygwin AT cygwin DOT com References: <13191124 DOT post AT talk DOT nabble DOT com> <13192157 DOT post AT talk DOT nabble DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13192157.post@talk.nabble.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 2007-10-13, ppmoore wrote: > 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? IIUUC, yes, just install the ssh server on your Cygwin/Windows box. The instructions are here: /usr/share/doc/Cygwin/openssh.README Regards, Gary -- 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/