I use FreeBSD to ssh into my managed switches at work. My old BSD box (FreeBSD xx5.domainname.com 12.2-PRERELEASE FreeBSD 12.2-PRERELEASE r365008 GENERIC amd64) with openssl version: OpenSSH_7.9p1, OpenSSL 1.1.1g-freebsd 21 Apr 2020 connects to my switches without issue.
The hardware on that computer is ancient so I built a replacement using v14 (FreeBSD newxx5 14.0-RELEASE-p3 FreeBSD 14.0-RELEASE-p3 #0: Mon Dec 11 04:56:01 UTC 2023 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64) with openssl version: OpenSSH_9.5p1, OpenSSL 3.0.12 24 Oct 2023 is giving me the following error message when I try to ssh into my switches:
Unable to negotiate with xxx.xxx.xxx.45 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
I've done a couple searches but can't seem to find any info on how to fix this permanently. I can't replace the old computer until I get this working. Help!
TIA
The hardware on that computer is ancient so I built a replacement using v14 (FreeBSD newxx5 14.0-RELEASE-p3 FreeBSD 14.0-RELEASE-p3 #0: Mon Dec 11 04:56:01 UTC 2023 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64) with openssl version: OpenSSH_9.5p1, OpenSSL 3.0.12 24 Oct 2023 is giving me the following error message when I try to ssh into my switches:
Unable to negotiate with xxx.xxx.xxx.45 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
I've done a couple searches but can't seem to find any info on how to fix this permanently. I can't replace the old computer until I get this working. Help!

TIA