X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.7 required=5.0	tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED
X-Spam-Check-By: sourceware.org
Date: Tue, 3 Apr 2012 23:09:12 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <1463721854.20120403230912@mtu-net.ru>
To: Marc Girod <marc.girod@gmail.com>, cygwin@cygwin.com
Subject: Re: How to run bash shell script in cygwin?
In-Reply-To: <33545030.post@talk.nabble.com>
References: <11690723.post@talk.nabble.com> <469F7858.4010007@cygwin.com> <11690870.post@talk.nabble.com> <1184856636.30388.3.camel@jhereg> <006b01c7ca15$8cbae110$2e08a8c0@CAM.ARTIMI.COM> <33545030.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Greetings, Marc Girod!

>>  Hey, why not plug our own faq while we're at it?
>> 
>> http://cygwin.com/faq/faq.using.html#faq.using.not-found
>> 
> One minor comment I have about point 12 in the FAQ, now that I went reading.
> The following advice is given:
>   You should rather install sshd and use ssh username@localhost as a su
> replacement. 

> With ssh, use rather: ssh username@$(hostname)

> This is because ssh will record the host key with the name.
> You don't want to record random host keys with the stable 'localhost' name.

Took me a few moments to realize, but I think this is possible even now,
when you use ssh on localhost:mapped-port.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 03.04.2012, <23:05>

Sorry for my terrible english...


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

