Centos 9 LXC template installed, but can't ssh into it

Inlakesh

Well-Known Member
Jan 13, 2019
75
4
48
Hello
I am trying out Centos 9 LXC template that was downloaded from the templates in Proxmox 8 GUI
After provisioning the template I can login to the lxc through proxmomx NoVnc, I want to be able to login via SSH, though I cant find that sshd is installed, and when trying yum install sshd I get the error: Unable to find a match: sshd

Searching about Centos 9 and most say that sshd is installed by default. It would be highly appreciated if someone have any input about this.
 
  • Like
Reactions: Inlakesh
There is no such package as "sshd". There is "openssh-server" and "openssh-clients"
But it could be already installed and just needs to be enabled.

https://phoenixnap.com/kb/how-to-enable-ssh-centos-7
https://serverastra.com/docs/Tutorials/Set-Up-and-Secure-SSH-on-CentOS,-Rocky,-and-AlmaLinux-7,-8,-and-9
https://www.linuxcnf.com/2022/01/how-to-enable-ssh-root-login-on-centos.html


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Thanks for the clarification, appreciated a lot.
I will read up on the links you shared.
 

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!