When a new file should have exactly the permissions of a working one, I do not want to work them out in octal.
sudo chmod --reference=/etc/ssh/sshd_config /etc/ssh/sshd_config.new
sudo chown --reference=/etc/ssh/sshd_config /etc/ssh/sshd_config.new
--reference=FILE takes the mode from the reference file, and chown has the same option for owner and group. It is useful when you replace a config file with an edited copy and want the original attributes back. It copies the mode only, not ACLs or attributes set with chattr. It also helps in scripts that must not guess, because the answer always follows the original file.
Further reading: chmod manual page