delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/03/11:43:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <33545030.post@talk.nabble.com>
Date: Tue, 3 Apr 2012 08:43:19 -0700 (PDT)
From: Marc Girod <marc DOT girod AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: RE: How to run bash shell script in cygwin?
In-Reply-To: <006b01c7ca15$8cbae110$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
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>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,


Dave Korn wrote:
> 
>  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.

Marc
-- 
View this message in context: http://old.nabble.com/How-to-run-bash-shell-script-in-cygwin--tp11690723p33545030.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019