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

Inlakesh

Well-Known Member
Jan 13, 2019
76
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.