sshd_config changes in Catalina?

I would like to exclude password authentication on my system, using only public key. In the past I have changed /etc/ssh/sshd_config and that was all but with SIP I cannot change sshd_config any more.


How do I make these changes on Catalina?

Accepted Reply

To answer my own question ... you need to edit the right file. Things have changed with SIP and you need to be clearer about what you want to change.


/etc has always been an alias for /private/etc and it still is but /etc is on a read-only fiel system, /private/etc is not.


sudo -e /private/etc/ssh/sshd_config

is the correct way to make these changes.

Replies

To answer my own question ... you need to edit the right file. Things have changed with SIP and you need to be clearer about what you want to change.


/etc has always been an alias for /private/etc and it still is but /etc is on a read-only fiel system, /private/etc is not.


sudo -e /private/etc/ssh/sshd_config

is the correct way to make these changes.