+9 votes
515 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 user@remote_server "remote_command1; remote_command2; remote_script.sh" 

Enjoy man!

0
by (1.9k points)
Thanks Alex !

Not a Member yet?

Ask to Folks Login

My Account

Your feedback is highly appreciated