I want to open a bunch of ssh sessions, how to script it?



Hi all,

I hope you could give me a hand in what I am trying to achieve:

I want to write a bash script to open a number of ssh connections to certain computers and then launch a couple of commands on each of them. I would like to open a separate tab (from the main konsole - I use kde) for each ssh session.

Any hint?

So far I only managed to open the ssh connections, but on different konsoles...

PS today I attempted bash scripting for the first time, don't be hard on me :)
.