I'm trying to edit the 'sshd_config' file in '/usr/local/etc/ssh/' to remove the possibility to
login by password.
I want to edit the following
-Protocol 2
-PasswordAuthentication no
-UsePAM no
But when I save and backup the file(I have added the it to '.filetool.lst') and reboot my changes are gone. I've read that this file is created by openSSH start script and someone managed to edit a few options by commandline overriding in bootlocal.sh, I tried that to but no luck
Is there an easy way to edit this config file and keep it after reboots?