2

When reading up issues to be aware of for Trixie, specifically interrupted remote upgrades (SSH), caught my eye.

I have one server I wanted to upgrade, to which I do have physical access, so this would just mean to connect screen and stuff.

But, I also manage a VPS server, to which I have no physical access, so I would like to hear how exactly I am to upgrade the OpenSSH packages:

Users planning upgrades to remote systems over an SSH connection are advised to first update OpenSSH to version 1:9.2p1-2+deb12u7 or greater through the stable-updates mechanism.

I suppose, I just do not know much about the upgrades, and I hope it is trivial.

Thanks in advance in any case.

0

1 Answer 1

6

What this means is that you need to ensure the OpenSSH packages are upgraded to the latest version available in Debian 12, 1:9.2p1-2+deb12u7.

This is currently only available in the “updates” repository, so you need a line such as

deb http://deb.debian.org/debian/ bookworm-updates main 

in /etc/apt/sources.list or somewhere in /etc/apt/sources.list.d.

If apt policy openssh-server shows that the installed version is 1:9.2p1-2+deb12u7, then you’re fine. Otherwise, check your repository configuration (if apt policy openssh-server doesn’t show 1:9.2p1-2+deb12u7 as the candidate version), and run apt upgrade (which is a good idea anyway before starting the upgrade to the next release). After upgrading openssh-server, make sure you disconnect and reconnect so your SSH session uses the upgraded daemon.

See bug #1110030 for details.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.