+9 votes
205 views
in Programming by (1.9k points)

I want execute command remotely in linux box  from another box.

closed

1 Answer

+1 vote
by (560 points)
selected by
 
Best answer

you can execute this command in your box

ssh -OPTIONS -p SSH_PORT [email protected]_server "remote_command1; remote_command2; remote_script.sh" 

Enjoy man!

by (1.9k points)
Thanks Alex !

Not a Member yet?

Ask to Folks Login

My Account

Your feedback is highly appreciated