This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sshd automatically close connection after successful login


Igor Pechtchanski <pechtcha <at> cs.nyu.edu> writes:

> > Christopher Cobb <ccobb <at> email.com> writes:
> > 
> > I restarted sshd, but I still get:
> > 
> >     $ ssh Administrator <at> momtst5
> >     Administrator <at> momtst5's password: 
> >     Connection to momtst5 closed.
> > 
> > The connection closes immediately as others have mentioned.
> > 
> > Is that the form of -r that you mean?
> 
> Yes, but you have to reinstall the sshd service, not just restart sshd, 
> i.e.,
> 
> cygrunsrv -E sshd; cygrunsrv -R sshd; ssh-host-config; cygrunsrv -S sshd
> 
> HTH,
> 	Igor


Yes, that's what I did before, and I did it again just to make sure, and I still
get an immediate "Connection to xxx closed." after typing my password.

That's the right -r isn't it?  Is there something else that needs to be done?




--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]