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 Message-ID: <3DD4DBC3.5020903@isg.de> Date: Fri, 15 Nov 2002 12:34:27 +0100 From: Tino Lange Organization: IS Innovative Software AG User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021113 X-Accept-Language: de, en-us, en, fr MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Again: Cygwin SSHD on Win2000 - only ONE login possible References: <20021105153841 DOT GA1756 AT tishler DOT net> <3DD124EC DOT 9090101 AT ece DOT gatech DOT edu> <20021112160657 DOT GA13279 AT redhat DOT com> <3DD128AF DOT 7070009 AT isg DOT de> <3DD29CC7 DOT 4A542D2 AT isg DOT de> In-Reply-To: <3DD29CC7.4A542D2@isg.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi! Since noone helps me I have to search for solutions myself: It seems that the sshd binds only to the local adress after the first login. When I start sshd for the first time it listens on all available interfaces, i. e. loopback (localhost) and its IP Adress 192.168.1.4. So I can connect from another computer. After the first login it binds only to localhost - I can still use ssh to the same machine (or telnet localhost 22) - but not from outside. After a "net stop sshd / net start sshd" it again listens on both devices - one time (!) as before. I found a workaround for me, I explicitely told ssh to listen on 192.168.1.4 in sshd_config, now it works as expected although I lost the "local" ssh possibility - but that's quite useless. But anyhow - it seems to be a bug, or? BR Tino ------------- Tino Lange wrote: > Hi again! > > Today I updated to the new login & Co - hoping that it maybe solves my > problem with the sshd on Win 2000. > But the problem is still the same: I can only login *once* - that's it. > Then I have to restart the sshd service (which was still running, not > gone with the first login) > > Does really noone have an idea? > > Thanks! > > Tino > > --------------- > > Tino Lange wrote: > >>Hi! >> >>I have just installed the latest Cygwin with the lastest SSH (versions >>from today) and prepared my machine as a ssh server with "ssh-host-config". >> >>I'm using Privilege Separation and the sshd user, just like the script >>proposes. >> >>It works fine, but only for the *very first* login. >>After one sucessful login the sshd process is still running but it's not >>possible to connect to port 22 anymore - it seems there's noone >>listening again. >>(Even while I'm logged in I cannot connect twice) >> >>At the moment I can only login once, then restart the service (net stop >>/ net start). >> >>Any ideas? >>What am I doing wrong? >> >>Thanks! >> >>Tino -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/