I'd like an advise about a problem with "dsh": running some commands and then stopping it with "CTRL+C" I find some processes keep running on remote serves.
--------------------------------------------------
Here are the specs:
command:
dsh -M -g "servers" -c "tail -f /var/log/prefix*"
having a group (see below) that point to three different servers with some "log files" starting with "prefix" (e.g. prefix1.log, prefix2.log, ...)
configuration files:
/etc/dsh/dsh.conf
/etc/dsh/machines.list
localhost
/etc/dsh/group/servers
root@server-1
root@server-2
root@server-3
note that from the machine running dsh, a password-less ssh connection to them is made through the use of ssh keys
The problem is that if I type CTRL+C to stop dsh, sometimes on some servers "tail" keeps running(!)