delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/03/15:20:14

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 <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1463721854.20120403230912@mtu-net.ru>
To: Marc Girod <marc DOT girod AT gmail DOT com>, 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
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

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

- Raw text -


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