Sir 
thanks for u r suggestions.
i am not familier with ssh keys
how to set or create the public keys.
thanks in advance 
sabai.


--- Jason Dixon <[EMAIL PROTECTED]> wrote:
> On Sun, 2003-08-24 at 10:43, Kanaga sabai wrote:
> > Hai 
> > 
> > we have five linux 7.3 machines.
> > 
> > Our problem is when the power is down , we logon
> to
> > each system by rsh, and shut down the system using
> the
> > shutdown command as root.
> > 
> > if anyone knows or having scripts to shutdown the
> > system from the remote machine 
> > 
> > or suggest how to shutdown all the systems from
> the
> > one machine without logon to other systems.
> > 
> > thanks in advance
> 
> Setup ssh keys with null passphrases on your
> "master" machine. 
> Concatenate the public key into the servers'
> /root/.ssh/authorized_keys
> files.  From the master machine, you can now run the
> following command
> (via cron, command line, or shell script) to
> shutdown the remote systems
> non-interactively:
> 
> ssh root@<server> 'shutdown -h now'
> 
> If you're not familiar with setting up ssh keys, let
> me know.
> 
> -- 
> Jason Dixon, RHCE
> DixonGroup Consulting
> http://www.dixongroup.net
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe
>
mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to