Using dsh you can define the list of machines in ~/.dsh/machines.list in the form:
I'd like to have multiple hosts with different ssh ports, like this (I tried):
<user>@<samehost>:<onePort> <user>@<samehost>:<anotherPort> <user>@<samehost>:<yetAntherPort>
But dsh complains with a "Could not resolve hostname: user@samehost:onePort" for every line with the ":port".
I browsed the manual and there is no mention of "per line" port (there is just a global config), am I out of luck?