Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: loppanjo on April 09, 2016, 12:04:17 PM
-
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?
-
Thanks for reporting, it is a buggy startup script. Will fix it.
BTW, is it piCore 6 or 7 what you are using?
-
piCore 7.0
When do you think a fix will be available?
-
Done, 7.x armv6/armv7 repo updated.
Update your system.
-
A noob questoin but im new to piCore.
How do I update my system? tce-update?
-
How do I update my system? tce-update?
Yes
And don't forget to add the sshd config file to the backup file list before doing backup.