RE: sshd automatically close connection after successful login

2004-08-31 Thread Cary Lewis
st 20, 2004 4:13 AM To: [EMAIL PROTECTED] Subject: Re: sshd automatically close connection after successful login On Aug 19 22:07, Christopher Cobb wrote: > Igor Pechtchanski cs.nyu.edu> writes: > > Yes, but you have to reinstall the sshd service, not just restart sshd, > > i.e., &g

Re: Re: sshd automatically close connection after successful login

2004-08-22 Thread Ling F. Zhang
> >Well, I do want privilege separation support. > > > >So, I did the following: > >cygrunsrv --remove sshd > >cygrunsrv --install sshd --path /usr/sbin/sshd > --args > >-r --user sshd_server > > > >and cygrunsrv asks me for password for sshd_server, > I > >just hit enter twice... > > > >cygrunsrv

Re: Re: sshd automatically close connection after successful login

2004-08-20 Thread Corinna Vinschen
On Aug 19 15:42, Ling F. Zhang wrote: > Well, I do want privilege separation support. > > So, I did the following: > cygrunsrv --remove sshd > cygrunsrv --install sshd --path /usr/sbin/sshd --args > -r --user sshd_server --args '-D -r' See /usr/share/doc/Cygwin/openssh.README Corinna -- Cori

Re: sshd automatically close connection after successful login

2004-08-20 Thread Corinna Vinschen
On Aug 19 22:07, Christopher Cobb wrote: > Igor Pechtchanski cs.nyu.edu> writes: > > 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 I just added resp. removed the -r from the appr

Re: sshd automatically close connection after successful login

2004-08-20 Thread Corinna Vinschen
On Aug 19 20:08, Christopher Cobb wrote: > Corinna Vinschen cygwin.com> writes: > > > > > On Aug 19 05:19, Mike Skallas wrote: > > > I had this same problem when I re-installed cygwin today. Took me a good > > > hour to figure out what the hell was going on. > > > > Folks, does anybody of you

Re: Re: sshd automatically close connection after successful login

2004-08-19 Thread Larry Hall
At 06:42 PM 8/19/2004, you wrote: >Well, I do want privilege separation support. > >So, I did the following: >cygrunsrv --remove sshd >cygrunsrv --install sshd --path /usr/sbin/sshd --args >-r --user sshd_server > >and cygrunsrv asks me for password for sshd_server, I >just hit enter twice... > >cy

Re: Re: sshd automatically close connection after successful login

2004-08-19 Thread Ling F. Zhang
Well, I do want privilege separation support. So, I did the following: cygrunsrv --remove sshd cygrunsrv --install sshd --path /usr/sbin/sshd --args -r --user sshd_server and cygrunsrv asks me for password for sshd_server, I just hit enter twice... cygrunsrv --start sshd gives me a "logon error"

Re: sshd automatically close connection after successful login

2004-08-19 Thread Christopher Cobb
Igor Pechtchanski cs.nyu.edu> writes: > > Christopher Cobb email.com> writes: > > > > I restarted sshd, but I still get: > > > > $ ssh Administrator momtst5 > > Administrator momtst5's password: > > Connection to momtst5 closed. > > > > The connection closes immediately as othe

Re: sshd automatically close connection after successful login

2004-08-19 Thread Igor Pechtchanski
On Thu, 19 Aug 2004, Christopher Cobb wrote: > Christopher Cobb email.com> writes: > > > Corinna Vinschen cygwin.com> writes: > > > > > On Aug 19 05:19, Mike Skallas wrote: > > > > I had this same problem when I re-installed cygwin today. Took me a good > > > > hour to figure out what the hel

Re: sshd automatically close connection after successful login

2004-08-19 Thread Christopher Cobb
Christopher Cobb email.com> writes: > > Corinna Vinschen cygwin.com> writes: > > > > > On Aug 19 05:19, Mike Skallas wrote: > > > I had this same problem when I re-installed cygwin today. Took me a good > > > hour to figure out what the hell was going on. > > > > Folks, does anybody of you

Re: sshd automatically close connection after successful login

2004-08-19 Thread Christopher Cobb
Corinna Vinschen cygwin.com> writes: > > On Aug 19 05:19, Mike Skallas wrote: > > I had this same problem when I re-installed cygwin today. Took me a good > > hour to figure out what the hell was going on. > > Folks, does anybody of you actually *read* this mailing list or, FWIW, > at least th

Re: sshd automatically close connection after successful login

2004-08-19 Thread Larry Hall
At 06:57 AM 8/19/2004, you wrote: >On Aug 19 05:19, Mike Skallas wrote: >> I had this same problem when I re-installed cygwin today. Took me a good >> hour to figure out what the hell was going on. > >Folks, does anybody of you actually *read* this mailing list or, FWIW, >at least the package anno

Re: sshd automatically close connection after successful login

2004-08-19 Thread Corinna Vinschen
On Aug 19 05:19, Mike Skallas wrote: > I had this same problem when I re-installed cygwin today. Took me a good > hour to figure out what the hell was going on. Folks, does anybody of you actually *read* this mailing list or, FWIW, at least the package announcements? This is the pointer to my Op

RE: sshd automatically close connection after successful login

2004-08-19 Thread Mike Skallas
I had this same problem when I re-installed cygwin today. Took me a good hour to figure out what the hell was going on. It seems that this version of sshd/openssh and its config script asks you if you want to run something called privilege separation. If you run the script like so: "ssh-host-