Connection to diferent server

Hello I'm conecting in server1 and I need connect to server2(other). I need doing that becouse I need run a lot bach of diferent serverX. I explain better:

Connectionn server1 ## I need that all the step exit for xxx.txt of the server1

 - run xxxx.sh
   - Conection server2
        - su - user/pass
        - Run xxx.sh
        - Close that Server2
   - Conection server3
        - su - user/pass
        - Run xxx.sh
        - Close that Server3
   - Conection serverX
        - su - user/pass
        - Run xxx.sh
        - Close that ServerX

Can you help me?, I'm begining in unix, thanks a lot!!!! =)

Use a for or while loop to ssh into all the servers. Compile them in an list (text file). Use public key authentication to simplify login.
Do you really need to su to user/pass, can't you login to that user?