When I start my day in front of my computer, I first have to do the following:
- In workspace 1:
- Open a new terminal window,
ssh loginserver, thenssh serverA1andsudo su account00 - Open a new terminal tab,
ssh loginserver, thenssh serverA2andsudo su account00 - Open a new terminal tab,
ssh loginserver, thenssh serverA3andsudo su account00
- Open a new terminal window,
- In workspace 2:
- Open a new terminal window, 1
ssh loginserver, thenssh serverB1andsudo su account00 - Open a new terminal tab,
ssh loginserver, thenssh serverB2andsudo su account00 - Open a new terminal tab,
ssh loginserver, thenssh serverB3andsudo su account00
- Open a new terminal window, 1
- In workspace 3:
- etc...
Is there a way to automatize the whole process, e.g., having a script that automatically opens each terminal window in its own workspace, all terminal tabs in each window, and all corresponding ssh / sudo su commands? If not, which parts can I automatize?