Re: Struggling to setup sshd with Windows Vista

2007-12-24 Thread Jerry DeLisle
Brian Dessent wrote: Kevin Hilton wrote: Let me just make sure I know what you are telling me to do, since I already did this and it didnt make a difference. As an administrator, I: 1. Delete the sshd user -- Ok I manually edited the /etc/passwd file and deleted this user No, I mean delete

Re: Struggling to setup sshd with Windows Vista

2007-12-24 Thread Kevin Hilton
Thanks for the last tip about deleting the sshd user. I did that and know everything works. Just to summarize for anyone who is trying to get this working on Windows Vista Open two cygwin shells - one in Administrator mode (right click-Run Administrator mode), the other as a normal user

Struggling to setup sshd with Windows Vista

2007-12-23 Thread Kevin Hilton
Where to start?? I attempting to setup the sshd within Windows Vista. For this OS documentation seems scant. openssh version OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007 At this point I dont care about priviledge separation. I can use it, or not. I attempted to setup the daemon using

Re: Struggling to setup sshd with Windows Vista

2007-12-23 Thread Kevin Hilton
Just another thing that I have noticed: $ /usr/sbin/sshd -d -d -d -D debug2: load_server_config: filename /etc/sshd_config debug2: load_server_config: done config len = 210 debug2: parse_server_config: config /etc/sshd_config len 210 debug3: /etc/sshd_config:13 setting Port 22 debug3:

Re: Struggling to setup sshd with Windows Vista

2007-12-23 Thread Brian Dessent
Kevin Hilton wrote: Just another thing that I have noticed: $ /usr/sbin/sshd -d -d -d -D That's a very bad idea. The daemon requires privileges that normal users (even administrators) don't have, so trying to run it like that as a normal user is just a recipe for breaking things. And even

Re: Struggling to setup sshd with Windows Vista

2007-12-23 Thread Thorsten Kampe
* Brian Dessent (Sun, 23 Dec 2007 04:58:33 -0800) Kevin Hilton wrote: Just another thing that I have noticed: $ /usr/sbin/sshd -d -d -d -D That's a very bad idea. Kevin is obviously trying to debug things (noticed the triple -d?) so this is a really good idea... Thorsten --

Re: Struggling to setup sshd with Windows Vista

2007-12-23 Thread Brian Dessent
Thorsten Kampe wrote: $ /usr/sbin/sshd -d -d -d -D That's a very bad idea. Kevin is obviously trying to debug things (noticed the triple -d?) so this is a really good idea... I know what the sshd options mean, and no, it's really not a good idea in the slightest. Trying to debug sshd

Re: Struggling to setup sshd with Windows Vista

2007-12-23 Thread Kevin Hilton
QUOTE: You've got some indeterminate state of brokenness here. Delete the sshd user, delete the service, delete /var/empty, delete the sshd config files, recreate known good passwd and group files, and then just run ssh-host-config -y and let it create everything correctly. That is all you should

Re: Struggling to setup sshd with Windows Vista

2007-12-23 Thread Kevin Hilton
QUOTE: You've got some indeterminate state of brokenness here. Delete the sshd user, delete the service, delete /var/empty, delete the sshd config files, recreate known good passwd and group files, and then just run ssh-host-config -y and let it create everything correctly. That is all you

Re: Struggling to setup sshd with Windows Vista

2007-12-23 Thread Larry Hall (Cygwin)
Kevin Hilton wrote: snip Should either the sshd or sshd_server user be part of the Administrator group? You really shouldn't need to worry about the groups for these users. They are created by the 'ssh-host-config' script with the required permissions and groups. They should work for you

Re: Struggling to setup sshd with Windows Vista

2007-12-23 Thread Kevin Hilton
Thanks for the info, however I cant get over the hump. I believe the problem lies with the UAC, but I have no way of proving this. The sshd and sshd_server users are created. Now what?? The service will not start, and I have no debugging output to tell me why?? Is it suggested I not use

Re: Struggling to setup sshd with Windows Vista

2007-12-23 Thread Morgan Gangwere
On Dec 23, 2007 7:19 PM, Kevin Hilton [EMAIL PROTECTED] wrote: Thanks for the info, however I cant get over the hump. I believe the problem lies with the UAC, but I have no way of proving this. The sshd and sshd_server users are created. Now what?? The service will not start, and I have

Re: Struggling to setup sshd with Windows Vista

2007-12-23 Thread Brian Dessent
Kevin Hilton wrote: Let me just make sure I know what you are telling me to do, since I already did this and it didnt make a difference. As an administrator, I: 1. Delete the sshd user -- Ok I manually edited the /etc/passwd file and deleted this user No, I mean delete the *user*, not a