How to run bash shell script in cygwin?

Marc Girod marc.girod@gmail.com
Tue Apr 3 15:43:00 GMT 2012


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



More information about the Cygwin mailing list