Re: SSH application in Java



On 22 Sie, 10:24, Steven Mocking
<u...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
If it doesn't have to be java, why not simply setup a public/private key
pair, add 'username ALL = NOPASSWD: /sbin/reboot' to /etc/sudoers, so
you can use

ssh username@host sudo reboot

from the windows machine?

Like I wrote earlier (perhaps not too clearly - my bad), the
destination is to execute reboot command on more than one machine at
one time. I can do this using for ex. putty (log in -> reboot ->
logout -> log in to next comp ...), but I want to make my life easier
and make app which will do the same on many machine. So I don't have
to log to every single comp and execute reboot.

.



Relevant Pages

  • Re: Setting up a FC3 gateway
    ... > configured properly but can't obtains what u expected, reboot may help. ... >> Windows machine? ... Posta con Thunderbird 1.0.2 Navigazione con Firefox 1.0.2 ...
    (Fedora)
  • Re: Windows Product Activation
    ... Howard Griffith wrote: ... > reboot the Windows machine and this time should give you a white mouse ... > cursor and allow you to do everything. ...
    (microsoft.public.mac.virtualpc)
  • Re: SSH
    ... Danny Terweij - Net Tuning | Net wrote: ... full access as root with no pass? ... access to a Windows machine you are only one reboot away with the right tool to reset the local administrator password to blank and having full access to the machine. ...
    (Fedora)
  • Re: network link between wnidows and linux box keeps dying
    ... I had a similar problem with my windows machine locking up ... > a) Reboot the windows machine ... I just wiped 98 and stuck linux on there. ...
    (comp.os.linux.networking)