This will probably work for other distributions as well. Be aware this enables password auth.
apt install openssh-server
mkdir /etc/ssh/defaultkeys
mv /etc/ssh/ssh_host_* /etc/ssh/defaultkeys/
dpkg-reconfigure openssh-server
systemctl enable ssh.service
systemctl start ssh.service
systemctl status ssh.service
Edit /etc/ssh/sshd_config
and the following:
PubkeyAuthentication yes
PasswordAuthentication no
To use key based authentication.