Dear All, I want to run a script on a remote machine via SSH, here is what happens:
I put my public key on remote machine for password eliminated login. now how can i run commands under remote machine through a script running on my machine because in a script i gave following commands: ssh <address> shutdown and tried to run it on my machine. so once we enter the remote machin through ssh comman written in script, but the command following ssh didnt run on remote machine. and when i manualy logout from remote machine, the next command shutted my PC down. Thanks thanks in advance... Regards, Virat ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ linux-india-help mailing list linux-india-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-india-help