I just found this version of openssh for windowsNT but
have not tested it.

http://allserv.rug.ac.be/helpdesk/software/winscpeng.html

And I would assume that once you've got it set up, you
could log in as administrator and run the tomcat start
and stop batch files.

--- Hans-Erik Skyttberg <[EMAIL PROTECTED]>
wrote:
> Hi!
> 
> I do not know how to do it in NTm but this is how
> you could do it on a
> unix box.
> Let's say you have a users called tomcat that should
> start and stop
> tomcat.
> 
> Then you can create a small shell script to call
> start stop tomcat like
> this:
> Call this script tomcat_stop.cgi:
> #!/bin/sh
> /opt/app/tomcat/bin/tomcat stop
> 
> Call this script tomcat_start.cgi:
> #!/bin/sh
> /opt/app/tomcat/bin/tomcat start
> 
> Do the following on thoose two scripts:
> chmod 750 tomcat_st*
> chgrp apache tomcat_st* # or whatever group id your
> apache is running
> as....
> chown tomcat tomcat_st* # or whatever user you start
> stop tomcat as,
> should not be root though.
> chmod u+s tomcat_st*
> 
> Now put them in a ScriptAliased dir on your
> webserver and protect them
> either by deby allow directives or maybe a .htpasswd
> or something
> equivalent, now you can start and stop your tomcat
> with a browser.
> 
> Regards
> Hans - Erik Skyttberg
> Boxer TV Access AB
> Tegluddsv. 64
> 115 28 Stockholm
> +46 (0)8 587 899 64
> +46 (0)733 35 70 64
> 
> 
> -----Ursprungligt meddelande-----
> Fr�n: Siomara Pantarotto
> [mailto:[EMAIL PROTECTED]]
> Skickat: den 25 september 2001 08:14
> Till: [EMAIL PROTECTED]
> �mne: Re: How to start/stop tomcat from a remote
> machine???
> 
> 
> I am currently using windows NT. Could you provide
> more details on how 
> exactly you do even for Linux or Solaris (and NT if
> possible)
> 
> Thanks
> 
> Sio
> 
> 
> >From: Charles Baker <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: How can I start/stop tomcat web server
> from a remote 
> >machine???
> >Date: Mon, 24 Sep 2001 18:00:17 -0700 (PDT)
> >
> >Are you using *nix or NT? On my Linux or Solaris
> boxes
> >I just ssh in and start/stop whatever I want to.
> >
> >--- Siomara Pantarotto <[EMAIL PROTECTED]>
> wrote:
> > > Hi all,
> > >
> > > How can I start/stop tomcat web server from a
> remote
> > > machine???
> > >
> > > In other words, how can I run the start/shutdown
> > > batch files that tomcat has
> > > to start/stop its services from a remote machine
> > > that is not the server that
> > > Tomcat is installed in?
> > >
> > > Thanks
> > >
> > > Siomara
> > >
> > >
> > >
> > >
>
>_________________________________________________________________
> > > Get your FREE download of MSN Explorer at
> > > http://explorer.msn.com/intl.asp
> > >
> >
> >
> >=====
> >-
> >[EMAIL PROTECTED]
> >Hacking is a "Good Thing!"
> >See
> http://www.tuxedo.org/~esr/faqs/hacker-howto.html
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Get email alerts & NEW webcam video instant
> messaging with Yahoo! 
> >Messenger. http://im.yahoo.com
> 
> 
>
_________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
> 


=====
-
[EMAIL PROTECTED]
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. 
http://im.yahoo.com

Reply via email to