problems connecting to GL-SFT1200 via ssh

I am able to connect with putty and the only way to connect with ssh is by adding this to .ssh/config:

Host 192.168.1.1
        User root
        HostKeyAlgorithms +ssh-rsa

I believe this is occuring because the router has outdated rsa algorithms. Can anyone direct me to how to update them?

Part of the problem may be that GL-SFT1200 Opal is using a very old version (18.06) of openwrt which is currently at 23.05.

I'm a bit concerned about just doing

apt-get update
apt-get upgrade

as the version is so old, something is surely going to break.

First of all apt-get isn't used on OpenWrt, second of all: Don‘t do it.

Many of the packages in GL iNet firmware are way out of date. Their firmware is based on older, often obsolete versions of OpenWrt, with their own modifications. Sometimes GL iNet updates some packages for security reasons, but not always. What is or isn't updated is not documented, so you have to go through package by package.

Their firmware is a proprietary OS that you just have to trust if you want to use their features. There's no real difference from using Netgear, TP-Link, or Asus router firmware.

I was really hoping for a fix to avoid making changes to the config file as I use multiple devices to connect and I have to remember to edit it. Is there am way to update the RSA algorythms?

I don't know. I just modified my ssh config files to handle the older version of ssh they use on my GL iNet routers that I have not upgraded to a currently supported versions of OpenWrt.