ssh-grant can manage the ~/.ssh/authorized_keys files on multiple machines in an optimal way.