I have changed some stuff within the sshd_config file and want to reset the file to its default settings. How would I go about doing this?
The ssh default config file is on
/private/etc/ssh/sshd_config, you can copy it to
.ssh directory by the following command
sudo cp /private/etc/ssh/sshd_config ~/.ssh/config
Then restart SSHD:
sudo launchctl stop com.openssh.sshd sudo launchctl start com.openssh.sshd
If it is for MAC i found this it may be useful