X-Recipient: archive-cygwin AT delorie DOT 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 Reply-To: Andrey Repin Message-ID: <1463721854.20120403230912@mtu-net.ru> To: Marc Girod , cygwin AT cygwin DOT com Subject: Re: How to run bash shell script in cygwin? In-Reply-To: <33545030.post@talk.nabble.com> References: <11690723 DOT post AT talk DOT nabble DOT com> <469F7858 DOT 4010007 AT cygwin DOT com> <11690870 DOT post AT talk DOT nabble DOT com> <1184856636 DOT 30388 DOT 3 DOT camel AT jhereg> <006b01c7ca15$8cbae110$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <33545030 DOT post AT talk DOT nabble DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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 AT 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 AT freemail DOT 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