LXC Container Creation Failing: DSA SSH Key Generation Error

Banaszi

New Member
Oct 11, 2024
1
0
1
Hello Proxmox community,

I'm running Proxmox 8 on a Mini PC SOYO M2PLUS with the following specs:
- CPU: Intel Celeron N100
- RAM: 16 GB
- Storage: 512 GB

Before getting to my main issue, I should mention that I had to use the guide at https://github.com/dariox64/rtl8169---rtl8168/blob/master/README.md to get my Ethernet working properly on this hardware.

I'm encountering an issue when trying to create an LXC container for Jellyfin. The container creation process fails with the following error:
Code:
Creating SSH host key 'ssh_host_dsa_key' - this may take some time ...
unknown key type dsaLogical volume "vm-110-disk-0" successfully removed.TASK ERROR: unable to create CT 110 - command 'ssh-keygen -f /run/pve/.tmp2131.dsa -t dsa -N '' -E sha256 -C root@jellyfin' failed: exit code 255

It seems the container creation is failing due to an attempt to generate a DSA SSH key, which is no longer supported in newer OpenSSH versions.I've tried locating the LXC template file to modify it, but I can't find the file at the expected location (/usr/share/pve/lxc/templates/lxc-pve).

Has anyone else encountered this issue with LXC container creation on Proxmox 8, especially on newer Mini PCs? Are there any recommended solutions or workarounds to prevent the system from attempting to generate DSA keys during container creation?

Any help or guidance would be greatly appreciated. Thank you!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!