On Debian 12 (the latest available Debian distrib at OVH), I’d like to upgrade OpenSSH.
# ssh -V
OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023
So the installed version is 9.2. For PCI compliance, I need 9.6 or more. I can see here that 9.7 is available.
I’ve tried to apt upgrade but it doesn’t work, as 9.2 is already the newest (available) version.
# apt-get update
# apt-get upgrade ssh
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ssh is already the newest version (1:9.2p1-2+deb12u2).
Calculating upgrade... Done
The only solution i’ve founded is here but it is very complicated. People say it is dangerous and not recommanded.
Is there a secure way to upgrade ?