Invoke scripts in different UNIX env

Hi,

Problem Statement: We have 400 shell scripts to be tested and they run over 4-5 different unix environments. All these are run in SUDO mode.

My requirement is to Define aliases for each script which accepts the Date & Order ID as a parameter so that I can submit all these scripts from 1 server.

Note: All these scripts only run in SUDO mode.

Thanks in advance for all the support.

Can somebody please help me on my issue. Thanks

What have your tried already?
What is the problem with it?
You'll get answers to specific coding problems.

I am new to unix shell programming. My requirement is

e.g. script1 is on server 1
script2 is on server 2

we use the same userid & password to login into server 1 & 2 as both are being accessed using LDAP. can I write a script which can invoke script2 on server 2 from server 1 using sudo su - myrole. Thanks.

if password less ssh is possible then

ssh -q user@server " pathtoscript/scriptname "