Move logic for appending sshd_config out to bash script.