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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
"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? |
|
|||
|
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. |
|
|||
|
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? |
|
|||
|
"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 |