Mscp
A while ago, I found myself in a situation of having to redistribute few monitoring scripts to 40+ servers. Of course distributing those scripts on just few of them was going rather fast and normally wouldn’t force me to write this. Well, this one time I swallowed it and let it pass, then again in short period of time I found myself in a same situation. Again 40+ hosts an so little time.
I’ve started to search for program that was capable of transferring those files on multiple hosts using scp and key auth. After a while I still haven’t found one. Yet again I was forced to distribute those new scripts by hand. Then I decided to put some effort and write something that will help me next time, so that’s how was mscp created.
Mscp requires only ssh program to be installed and works best with combination of ssh key authentication (you can find guide how to set it up here). It will work with password based authentication but will prompt you password for every remote host.
Some mscp features are:
- automatic copy of local files to multiple ssh enabled host over scp
- supports shell regexp values for selecting multiple local files or directories
- enables you to use different ssh keys
- enables you to specify global remote user
- enables you to specify remote location
- it uses ssh-agent in background so your paraphrase is asked only once
- after successful transfer it will automatically remove your ssh key from ssh-agent
- you can keep a multiple list of different server groups in your home folder
Here are some screen shoots of mscp in action:
Complete mscp documentation can be found in manual pages “man mscp” or here: http://toic.org/mscp/mscp-man/
You can download mscp from:
Debian package: http://toic.org/debs/mscp_20081114-1.0_i386.deb
Source tarball: http://toic.org/debs/mscp-1-0.tar.gz
Files are mirrored at: https://sourceforge.net/project/platformdownload.php?group_id=245233


No comments yet.