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: sshd not properly working


Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:

> 
> On Apr  2 11:07, giuseppe wrote:
> > I have win XP SP2 on my WM and I installed the latest version of cygwin.
> > later I tryed to get the ssh daemon working following instructions from:
> > http://pigtail.net/LRP/printsrv/cygwin-sshd.html
> 
> http://cygwin.com/ml/cygwin/2005-03/msg00712.html
> http://cygwin.com/ml/cygwin/2005-03/msg01060.html
> 
> Corinna
> 

Dear Corinna,
Thank you very much for your reply!

I'm very sorry but I was not able to find online the official cygwin
documentation of sshd (probably it's my fault);
moreover, at the beginning, i was only trying to get openssh working; then
,googling around, I found nfong site describing how to get an ssh server service
working and just followed instructions; I already wrote to nfong and he also
kindly replied once, but sshd still doesn't work.

If i understand your suggestion is to uninstall cygwin and restart everything
from the beginning, isn't it? I was thinking the same; the only problem is that
nfong, in his guide, said

>>(3)  Right click My Computer, Properties, Advanced, Environment Variables
>>See this illustration (red dots).
>>Click the "New" button to add a new entry to system variables:
>>variable name is CYGWIN
>>variable value is ntsec tty

>>(4) Right click My Computer, Properties, Advanced, Environment Variables
>>See this illustration (green dots).
>>Select the Path variable and click the "Edit" button:
>>append  ;c:\cygwin\bin   to the end of the existing variable string.

>>(5) Open a cygwin window (by double clicking theg icon), a black screen pops
>>open, type
>>ssh-host-config
>>When the script asks you about "privilege separation be used", answer yes.
>>When the script asks about "local user", answer yes.
>>When the script asks you about "install sshd as a service", answer yes
>>When the script asks you for "CYGWIN=",
>>your answer should be ntsec tty

Should i eliminate the variables created of point 3) and 4)?
what is the real answer to the last question of ssh-host-config?
Finally, is it true that I have to add an exeption for port 22 in the firewall?

again thank you very much 
bye
giuseppe



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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