shutdown windows from linux

This is a discussion on shutdown windows from linux within the Linux Networking forums, part of the Linux Forums category; diffuser78@gmail.com wrote: > windows do have shutdown command, but how do i remotely send this to > the ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #21 (permalink)  
Old 05-11-2006
htgin
 
Posts: n/a
Default Re: shutdown windows from linux


diffuser78@gmail.com wrote:
> windows do have shutdown command, but how do i remotely send this to
> the windows box from linux box. SSH works only on linux (as far as my
> knowledge goes..i am a newbie) .
>
> Eveyr help is appreciated.
>
> Thanks


I suggest you use programming. Create a winsock executable using
VB(.NET) or C++ that listens to a particular port on your windows
machine. From Linux, using Perl or C/C++, send a message to the port.
As soon as the .exe on Windows receives the message, it invokes
shutdown through command-line shell or API. Thats my first guess.

Chirag Shukla.

Reply With Quote
  #22 (permalink)  
Old 05-11-2006
ynotssor
 
Posts: n/a
Default Re: shutdown windows from linux

"htgin" <chiragshuklaindia@gmail.com> wrote in message
news:1147384841.323076.143090@q12g2000cwa.googlegr oups.com

> I suggest you use programming. Create a winsock executable using
> VB(.NET) or C++ that listens to a particular port on your windows
> machine. From Linux, using Perl or C/C++, send a message to the port.


Why not use Perl on the windows machine?
Reply With Quote
  #23 (permalink)  
Old 05-12-2006
diffuser78@gmail.com
 
Posts: n/a
Default Re: shutdown windows from linux

This didnt work !!!


ynotssor wrote:
> <diffuser78@gmail.com> wrote in message
> news:1147270837.710480.23200@i39g2000cwa.googlegro ups.com
>
> > I want a utility like net rpc or something like that which would just
> > shutdown rather than doing remote desktop.
> >
> > Every help is appreciated.

>
> I believe (but am not certain) that the installation of
> http://www.sysinternals.com/Utilities/PsShutdown.html in your default
> "%PATH%" on the MSbox will allow the invocation of "rsh -l username MSbox
> psshutdown ${options}" from Linux if the proper services are running on the
> MSbox to enable the remote connection. You should be very mindful of the
> fact that any information would be transported as plain ASCII text and
> viewable by others on the network if the topology allows them to sample the
> data stream.


Reply With Quote
  #24 (permalink)  
Old 05-12-2006
ynotssor
 
Posts: n/a
Default Re: shutdown windows from linux

<diffuser78@gmail.com> wrote in message
news:1147447685.187355.254560@d71g2000cwd.googlegr oups.com

> This didnt work !!!


Did you have the remote access services enables on the M$ box?
Reply With Quote
  #25 (permalink)  
Old 05-12-2006
diffuser78@gmail.com
 
Posts: n/a
Default Re: shutdown windows from linux

I tink yes. I went to control panel, administratove control and over
there I enabled it.

am i missing on something ?


ynotssor wrote:
> <diffuser78@gmail.com> wrote in message
> news:1147447685.187355.254560@d71g2000cwd.googlegr oups.com
>
> > This didnt work !!!

>
> Did you have the remote access services enables on the M$ box?


Reply With Quote
  #26 (permalink)  
Old 05-12-2006
Postmaster
 
Posts: n/a
Default Re: shutdown windows from linux


"Unruh" <unruh-spam@physics.ubc.ca> wrote in message
news:e3u262$g82$1@nntp.itservices.ubc.ca...
>
>> Please consider using something a bit more secure like
>> ssh & sshd with NO plain text passwords, NO empty passwords,

>
> ssh with plain text passwords are passed over the wire encrypted. Not sure
> at all why you are against them.
>
>
>> and a full digital key exchange. (DSA or RSA2)

>
>> OR, you'll be wondering why your systems keep rebooting
>> themselves at random times ... :-(

>
>>Enjoy,
>>Postmaster

>
>

Unruh,

Oops.. You're right. I specified the wrong variable.

Should have said:
PermitEmptyPasswords no
PasswordAuthentication no

The basic idea is to only permit digital key exchanges. No way
for anyone to even try textual passwords at all.

Enjoy,
Postmaster


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0