Claude Scanlon asked 1 year ago
Title : How to execute a script on Linux Machine B from Linux Machine A?

Question :

How to execute a script on Linux Machine B from Linux Machine A?

1 Answers
Ruchin SinhaRuchin Sinha Staff answered 1 year ago

To execute a script (for e.g. /apps/scripts/list_server.sh) as sadmin on Linux Machine B (192.168.100.12) from user sadmin on Linux Machine A (192.168.100.11):
 
ssh sadmin@192.168.100.12 /apps/scripts/list_server.sh

The above command will require you to enter sadmin’s password on 192.168.100.12.
 
Thanks,
Ruchin

Cubastion is among a very small number of specialized Siebel CRM Oracle Gold Partners in SME.