From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15214 invoked by alias); 2 Sep 2003 01:44:40 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 15139 invoked from network); 2 Sep 2003 01:44:39 -0000 Received: from unknown (HELO ns2.prospeed.net) (12.46.111.140) by sources.redhat.com with SMTP; 2 Sep 2003 01:44:39 -0000 Received: from enterprise-e.cygwin.com ([12.46.110.44]) by ns2.prospeed.net (8.12.8/8.12.8) with ESMTP id h821nqkn030951; Mon, 1 Sep 2003 21:49:52 -0400 Reply-To: Cygwin List Message-Id: <5.1.0.14.0.20030901213544.01fac138@127.0.0.1> X-Sender: Date: Tue, 02 Sep 2003 01:44:00 -0000 To: "Dan Adams" , cygwin@cygwin.com From: Larry Hall Subject: Re: sshd setup question In-Reply-To: References: <5.1.0.14.0.20030901172200.01f49928@127.0.0.1> <5.1.0.14.0.20030901180444.01f69c90@127.0.0.1> <5.1.0.14.0.20030901200938.01f7e0c0@127.0.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2003-09/txt/msg00067.txt.bz2 At 09:32 PM 9/1/2003, Dan Adams you wrote: >You mentioned that it is not reaching the server through ssh, is there any >way I can find out where the problem occurs at? I am using a command line of >: > ssh -p 422 localhost >to do this, I am not sure where in the networking the problem might lie at, >is there any way that I can find out, or assist you in finding out? Why are you using port 422? Did you set up your sshd to use this port? >The reason I was trying it with inetd, partly because it mentioned it on the >website of yours, is because I have it working correctly for a couple of >other services that are part of cygwin. > >One discrepancy I found between the website and the ssh-host-config file >that was installed on my machine is >file: > chown system.system /var/empty >website > chown system:system /var/empty > >How should this be? If you notice the website has a colon on that line, the >file has a period on that line. Either works. >The website I am referring to is: http://tech.erdelynet.com/cygwin-sshd.html Hm. I thought I was clear about this. tech.erdelynet.com has no affiliation with cygwin.com. This list can't answer questions about information your find at tech.erdelynet.com. Sorry. If you have questions about tech.erdelynet.com, address them there. >-- >Dan Adams - dan@infochi.com >http://www.infochi.com > > >"Larry Hall" wrote in message >news:5.1.0.14.0.20030901200938.01f7e0c0@127.0.0.1... >> You're not reaching the server. The read of the basic version >identification >> is failing. If the client and the server can't understand what version of >> ssh is running on either end, they don't talk. So you're not reaching the >> server through ssh. >> >> Sorry I don't know much about setting up ssh under inetd. Is there a >reason >> not to set it up as the documentation suggests? I can vouch for things >> working that way. >> >> Larry >> >> >> At 06:38 PM 9/1/2003, Dan Adams you wrote: >> >Thanks for the comment about cygrunsrv and the method of removing service >> >from win2k That worked well >> > >> >Since I have inetd working well. I have a telnet server and also a FTP >> >server, but neither is available outside of my firewall. I thought that I >> >would try and see if I could use the sshd server that I just setup via >the >> >inetd thing. When I did this, I got an error message of: >> > >> >ssh_exchange_identification: read: Connection reset by peer >> > >> >What would this mean? This is the only error message that I have been >> >getting from the ssh deamon when I try and connect, and even before I ran >> >that setup script. >> > >> >Dan Adams - dan@infochi.com >> >http://www.infochi.com >> > >> > >> >"Larry Hall" wrote in message >> >news:5.1.0.14.0.20030901180444.01f69c90@127.0.0.1... >> >> OK, visit and provide the requested >> >info. >> >> Also, send along (attached too) your /etc/passwd and /etc/group files. >> >The >> >> actual transcript of your attempt to run chown would be helpful too. >> >> >> >> cygrunsrv -E followed by cygrunsrv -R >will >> >> stop and remove a service. >> >> >> >> Larry >> >> >> >> >> >> At 06:04 PM 9/1/2003, Dan Adams you wrote: >> >> >I tried the directions at the site, and when it did the chown >> >system.system >> >> >/var/empty command. It errors out, saying that the user is unknown. It >> >seems >> >> >to not want to start the service after that point. Any more >suggestions. >> >> >Also does anyone know how to remove a service from the listong in >Win2k >> >once >> >> >it is no longer desired. I am hoping to change from telnet/ftp to ssh >> >access >> >> >which means I would be able to get rid of the service of inetd that is >in >> >my >> >> >win2k control panel thing. >> >> > >> >> >Dan Adams - dan@infochi.com >> >> >http://www.infochi.com >> >> > >> >> > >> >> >"Larry Hall" wrote in message >> >> >news:5.1.0.14.0.20030901172200.01f49928@127.0.0.1... >> >> >> At 05:28 PM 9/1/2003, Krzysztof Duleba you wrote: >> >> >> >Dan Adams" wrote >> >> >> > >> >> >> >> Does anyone know if there is either a script that will automate >the >> >> >> >process >> >> >> >> of setting up an ssh server? Or is there a tutorial setup page? >> >> >> > >> >> >> >http://tech.erdelynet.com/cygwin-sshd.html >> >> >> >> >> >> >> >> >> And please follow-up with any questions generated from following the >> >> >> directions at this site with tech.erdelynet.com. The supported >> >> >information >> >> >> for setting up Cygwin's OpenSSH distribution is >> >> >> /usr/doc/Cygwin/openssh-*.README. It's the only source of >information >> >> >this >> >> >> list will entertain questions about. >> >> >> >> >> >> Thanks, >> >> >> >> >> >> >> >> >> Larry Hall http://www.rfk.com >> >> >> RFK Partners, Inc. (508) 893-9779 - RFK Office >> >> >> 838 Washington Street (508) 893-9889 - FAX >> >> >> Holliston, MA 01746 >> >> >> >> >> >> >> >> > >> >> > >> >> > >> >> > >> >> >-- >> >> >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/ >> >> >> >> >> > >> > >> > >> > >> >-- >> >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/ >> >> -- >> Larry Hall http://www.rfk.com >> RFK Partners, Inc. (508) 893-9779 - RFK Office >> 838 Washington Street (508) 893-9889 - FAX >> Holliston, MA 01746 >> >> > > > > >-- >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/ -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/