Hey there! any question in your mind? Ask It Now!.

Popular Categories





execute command remotely in linux

+9 votes
154 views
asked in Programming by Eathen (1,930 points)

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

1 Answer

+1 vote
answered by AlexStewart (560 points)
selected by Eathen
 
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!

commented by Eathen (1,930 points)
Thanks Alex !

Related Questions

+1 vote
3 answers 411 views
0 votes
1 answer 458 views
+3 votes
2 answers 199 views
+4 votes
3 answers 1,008 views
0 votes
0 answers 139 views
+1 vote
1 answer 266 views
+2 votes
1 answer 1,067 views
+4 votes
5 answers 3,626 views
+3 votes
1 answer 687 views
+4 votes
5 answers 812 views

Not a Member yet?

Ask to Folks Login

My Account
351 Folks are online
0 members and 351 guest online
Your feedback is highly appreciated