Comment 21 for bug 2053146

Revision history for this message
Robie Basak (racb) wrote :

It's not clear to me if a simple "ssh -Snone localhost" is covered by the autopkgtests, so I did that manually, testing without -proposed first, and ensuring to run "sudo systemctl restart ssh" after upgrading to -proposed to ensure that I'm definitely hitting the daemon from -proposed.

Success on: 1:8.9p1-3ubuntu0.7 on Jammy and 1:9.3p1-1ubuntu3.3 on Mantic.

My commands were:

lxc launch ubuntu:jammy foo
lxc exec foo bash
login -f ubuntu
ssh-keygen # and set no passphrase
cd .ssh
cat id_rsa.pub >> authorized_keys
ssh -Snone localhost
exit
sudo add-apt-repository -p proposed
apt install -t jammy-proposed openssh-server
sudo systemctl restart ssh
ssh -Snone localhost
exit
apt policy openssh-server

(and the equivalent for Mantic)