rawandnet
asked on
shutdown linux remotly from windows
Is there any script that allow me to access linux from windows and shutdown the server?
I normally use putty to login to linux from windows. But i don't know wheather putty allow user to run a script file from command prompt that says shutdown now -h?
I normally use putty to login to linux from windows. But i don't know wheather putty allow user to run a script file from command prompt that says shutdown now -h?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it is solved, thanks it should be with out -m
plink -ssh root@10.1.3.30 -pw Pass01 shutdown now -h
plink -ssh root@10.1.3.30 -pw Pass01 shutdown now -h
ASKER
solved
thanks
thanks
ASKER
plink: unable to open command file "shutdown now -h"
any idea why?