scp (secure copy) a file to the same path on a remote system
I've been copying files from one server to the symmetrical cluster partner a lot last week.
scp /path/to/directory/file remote:/path/to/directory/
That gets boring after a while but does not really warrant setting up a full blown config management solution like salt, puppet or ansible.
So here is scpover[1.5kB].
It reduces the effort to
This will copy "file" from "/path/to/directory/" into exactly the same directory on the remote cluster partner. Which system to target is detected from the hostname of the local system and hard-coded into the script.
Scpover can also take multiple filepaths on one command line so you can beam over a few related config files from multiple locations in one go.
Not an atomic change but at least all within a reasonably short timespan.