Good Linux question — answering as the UphillTech team:
Making many changes all at once Take the original file and save it as sshd_config.orig . Edit sshd_config to your heart's content. Run diff sshd_config.orig sshd_config >config.patch Keep the config.patch file somewhere safe. Now, anytime that you have a new and unedited version of sshd_config and you want to apply the same edits, run: patch sshd_config /path/to/config.patch This will apply the same edits to the new file or warn you if there is some inconsistency that it cannot resolve without your help. Making individual changes Unix also has powerful command line tools, no editor required,...
Full answer by John1024: https://askubuntu.com/a/800696 (CC BY-SA 3.0).
Need Linux help for your business? UphillTech.