i would like the ability to add an optional command to specify to the
remote host.
This would be useful in the case where you want to connect to
potentially just one host multiple times and run a slightly different
command.
The format of this file might look like (mockup):
# csshX --hosts servers.txt
# cat servers.txt
root@server1 "/bin/sh script.sh 20091001"
root@server1 "/bin/sh script.sh 20091101"
root@server1 "/bin/sh script.sh 20091201"
root@server1 "/bin/sh script.sh 20100201"
root@server1 "/bin/sh script.sh 20100101"
This would almost necessitate the ability to take an input file of
hosts (one per line) with an optional quoted string -- which will be
the command run on the remote side.
user@host[:port] [command with args]
I could accomplish this today use GNU screen but it doesn't allow me
to see all the windows simultaneously of course like csshX.
What do you think? Thanks!