Topic: SSH / IIS (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=30537" title="Pages that link to Topic: SSH / IIS (Page 1 of 1)" rel="nofollow" >Topic: SSH / IIS <span class="small">(Page 1 of 1)</span>\

 
Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 09-09-2008 17:57

This isn't really a scripting question but I figured this would be about the best place to post it. I would like to be able to do an IISRESET through SSH. What is the command to do it? I have cygwin/openssh running on a windows 2K3 server.

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 09-09-2008 23:00

isn't it just iisreset /RESTART ?

Later,

C:\

Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 09-09-2008 23:41

on an ordinary command line yes that would work but through SSH you get "bash: iisreset: command not found"

Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 09-09-2008 23:58

FYI this is how you start and stop IIS through cygwin/openSSH:

cygrunsrv --start w3svc
cygrunsrv --stop w3svc

(Edited by Boudga on 09-09-2008 23:59)



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu