This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to run bash shell script in cygwin?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]