RE: sshd automatically close connection after successful login

2004-08-31 Thread Cary Lewis
PROTECTED] Subject: Re: sshd automatically close connection after successful login On Aug 19 22:07, Christopher Cobb wrote: Igor Pechtchanski pechtcha at 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

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 --start sshd gives me

Re: sshd automatically close connection after successful login

2004-08-20 Thread Corinna Vinschen
On Aug 19 20:08, Christopher Cobb wrote: Corinna Vinschen corinna-cygwin at 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-20 Thread Corinna Vinschen
On Aug 19 22:07, Christopher Cobb wrote: Igor Pechtchanski pechtcha at 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

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

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:

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

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

Re: sshd automatically close connection after successful login

2004-08-19 Thread Christopher Cobb
Corinna Vinschen corinna-cygwin at 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

Re: sshd automatically close connection after successful login

2004-08-19 Thread Christopher Cobb
Christopher Cobb ccobb at email.com writes: Corinna Vinschen corinna-cygwin at 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

Re: sshd automatically close connection after successful login

2004-08-19 Thread Igor Pechtchanski
On Thu, 19 Aug 2004, Christopher Cobb wrote: Christopher Cobb ccobb at email.com writes: Corinna Vinschen corinna-cygwin at 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

Re: sshd automatically close connection after successful login

2004-08-19 Thread Christopher Cobb
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

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: 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... cygrunsrv