Re: SSH application in Java
- From: mateusz.zajakala@xxxxxxxxx
- Date: Wed, 22 Aug 2007 02:03:59 -0700
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.
.
- Follow-Ups:
- Re: SSH application in Java
- From: mateusz . zajakala
- Re: SSH application in Java
- References:
- SSH application in Java
- From: mateusz . zajakala
- Re: SSH application in Java
- From: Steven Mocking
- SSH application in Java
- Prev by Date: Re: SSH application in Java
- Next by Date: Re: SSH application in Java
- Previous by thread: Re: SSH application in Java
- Next by thread: Re: SSH application in Java
- Index(es):
Relevant Pages
|
|