X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Adem" Subject: Re: sshd - again Date: Sun, 5 Oct 2008 09:25:06 +0200 Lines: 33 Message-ID: References: <48D2C09A DOT 8060509 AT informatik DOT uni-kiel DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 "Christian Schneider" wrote: > > i want to setup a lightweight opportunity to access the data on my pc. > After installing the most recent version of cygwin I configured sshd via > ssh-host-config. > Access from local pc (localhost) with putty / WinSCP works fine. > > Nevertheless access from another machine is not possible: > plink terminates without any msg, WinSCP alerts: Server unexpectedly > closed network connection > > I even deactivated my firewall completely but no success arised. > > I didn't manipulated any filters like hosts.deny, the localhost's IP > address is 192.168.1.1 > > None of the previous threads give appropriate solutions. > Hope somebody can help me cygwin sshd works fine here under w2k3. In your case it can only be a firewall issue, although you said you deactivated it, but maybe there is still another firewall active either on your machine or between the machines. You can of course keep your firewall(s), but you have to open port 22 or an other port of your desire (see/set in /etc/ssh_config in cygwin, and normally /etc/ssh/sshd_config on Linux boxes, for example Debian) to access your machine from remote. Use the debug flag: ssh -v -l username host BTW, it is recommended to disable root login via ssh, instead use a normal user account and then you can do su... -- 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/