sshd automatically close connection after successful login
Christopher Cobb
ccobb@email.com
Thu Aug 19 22:30:00 GMT 2004
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/
More information about the Cygwin
mailing list