Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: giuseppe Subject: Re: sshd not properly working Date: Sat, 2 Apr 2005 13:04:45 +0000 (UTC) Lines: 56 Message-ID: References: <20050402120614 DOT GA17336 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 141.108.3.210 (Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020 Firefox/0.10.1) X-IsSubscribed: yes Corinna Vinschen 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/