Just FYI:
I got around it, finally, by using instsrv and srvany from the Windows
XP Resource Kit.
I installed the .bat as a service and in the .bat it waits 2 mins
before starting sshd.
That was the only way I could find to get the .bat to run under the
local system account, which is mandatory for bin\switch to work.
The 2 min wait gives the fw time to come up and everyone's happy.
Thanks for the reply.
Mike Zarlenga
> You could place dependencies on OpenSSH so that is wont start until
> <XService>.
>
> Alternately I ?think? that you can set the order of service starting in the
> registry? I am very fuzzy on this but think I found an KB article on this
> by accident once upon a time. I'll see if I can find it, otherwise assume
> it was just a dream <smile>.
>
> Q
>
> ----- Original Message -----
> From: "Michael Zarlenga"
> Sent: Tuesday, February 22, 2005 12:51 AM
> Subject: "Permission denied" error fixed
>
> > OpenSSH 3.8.1p1-1 on Windows XP
> >
> > Hmmpf. I was starting sshd with a .bat file under Administrator, not
> > as a service under SYSTEM. When I start the service, I can log into
> > the non-privileged username. So the "bin\switch: Permission denied"
> > error is fixed.
> >
> > But that brings up a different problem ... I was starting OpenSSH with
> > a .bat file because I needed to delay sshd's start until after my
> > firewall came up. If it starts as a service, when my fw comes up, the
> > port shows open and listening but nothing gets through.
> >
> > Has anyone else here run into this problem? How did you solve it?
> >
> > Thanks,
> > Mike Zarlenga
>
> -
> List Management: https://mail.erdelynet.com/cgi-bin/mj_wwwusr/domain=erdelynet.com
> List Archives: http://erdelynet.com/archive/ssh-l/
> To Unsubscribe: Go to the List Management page listed above.
>
-
List Management: https://mail.erdelynet.com/cgi-bin/mj_wwwusr/domain=erdelynet.com
List Archives: http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to the List Management page listed above.
Received on Wed Feb 23 00:54:12 2005
This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:34:16 EDT