Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 13 Jan 2003 16:20:11 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin@cygwin.com To: a12 cc: cygwin@cygwin.com Subject: Re: SSH start in .bat ? In-Reply-To: <3E2321CD.D8B0F71C@swipnet.se> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 13 Jan 2003, a12 wrote: > Hello gurus, > > For the time being I start SSH manually: > open DOS window > C:\cygwin\cygwin.bat > ssh -T -L 5901:derqjzp:5900 -C -N isoft@derqjzp > > > I have tried to include the ssh command above in cygwin.bat but > obviously bash does not read it. > How do I make bash to read the ssh command in cygwin.bat ? 'bash --login -c "ssh -T -L 5901:derqjzp:5900 -C -N isoft@derqjzp"' Try "man bash" for details. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/