On Sun, Jan 18, 2009 at 6:03 AM, Dmitry Semyonov <linu...@gmail.com> wrote: > On Sun, Jan 18, 2009 at 16:12, Alexey Eremenko wrote: >> $ cygrunsrv -S sshd >> and I hope SSH service started but have no idea if it really started... > > cygrunsrv -Q sshd > > Thanks Dmitry...
u...@user-pc ~ $ cygrunsrv -Q sshd Service : sshd Display name : CYGWIN sshd Current State : Running Controls Accepted : Stop Command : /usr/sbin/sshd -D >> C:\cygwin\bin>ssh localhost >> ssh_exchange_identification: Connection closed by remote host >> >> It still does not work. What else info I can provide? > > man ssh: > > -v Verbose mode. Causes ssh to print debugging messages about > its progress. This is helpful in debugging connection, > authentication, and configuration problems. Multiple -v options > increase the verbosity. The maximum is 3. > C:\cygwin\bin>ssh -v localhost OpenSSH_5.1p1, OpenSSL 0.9.8h 28 May 2008 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to localhost [127.0.0.1] port 22. debug1: Connection established. debug1: identity file /home/user/.ssh/identity type -1 debug1: identity file /home/user/.ssh/id_rsa type -1 debug1: identity file /home/user/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote host What does it tell ? SSH Server is running - but it does not offer login or user name to enter. Why? -- -Alexey Eromenko "Technologov" -- 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/