How to remotely log in and execute a program

Gary Johnson garyjohn@spk.agilent.com
Sat Oct 13 18:22:00 GMT 2007


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@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/



More information about the Cygwin mailing list