Tuesday, September 25, 2012

Run command on remote machine using ssh without logging

To run any command on remote machine using ssh without loggin, use following ssh user@remote_ip command_to_execute

If you want to run remote graphical app locally on linux machine, you can use
ssh -X user@remote_ip command_to_execute

No comments:

Post a Comment