This message was deleted.
# harvester
a
This message was deleted.
a
There are a number of directories whose contents do persist and can be changed, one of which is /etc/ssh, so you should be able to edit
/etc/ssh/sshd_config
to make whatever changes you need
b
thanks. I will try. I thought as it is RO https://documentation.suse.com/de-de/sle-micro/5.3/html/SLE-Micro-all/cha-read-only-filesystem.html so wont be able to change it .
a
yeah, it's a read-only root file system, but that doesn't mean other RW things can't be mounted on top of it 🙂 e.g. various directories under /etc, which you need in order to ensure configuration persistence
👍 1
b
Hello @ambitious-daybreak-95996, i made changes in /etc/ssh/sshd_config for disabling SHA1 and restarted ssh and it was working fine. But today I noticed that these changes has been removed and also harvester uptime was 10 days. Is there a possibility that it rewrote the sshd file after reboot?
a
My bad, sorry. I did a little more digging, and it seems
/etc/ssh/sshd_config
is somehow rewritten on reboot. But, check the last line of that file:
Copy code
Include /etc/ssh/sshd_config.d/*.conf
If you
mkdir /etc/ssh/sshd_config.d
then add your custom config to
/etc/ssh/sshd_config.d/sweta_ghosh.conf
(or whatever you want to call the file, just so long as it ends in
.conf
), you should be good.
Wait.. Dammit,
Include /etc/ssh/sshd_config.d/*.conf
was introduced in harvester 1.3.0, and will be in version 1.2.2 (due out RSN), but isn't in 1.2.1.
b
We have upgraded our Harvester to 1.3.0.. Then I will try these steps. Thanks
👍 1