Add ssh_notenabled.md

This commit is contained in:
Ghassan Yusuf 2026-02-13 20:18:02 +03:00
parent b6a02edf73
commit 2b5d8f9d1b

22
ssh_notenabled.md Normal file
View File

@ -0,0 +1,22 @@
Since you confirmed
openssh-server is installed, the issue is almost certainly a configuration block or a systemd conflict specific to Ubuntu 22.04 LXC templates.
Follow these steps from the container's console:
1. Enable Root Login -> Ubuntu 22.04 blocks root login by default.
Edit the config:
```
nano /etc/ssh/sshd_config
```
Find the line:
```
#PermitRootLogin prohibit-password
```
Change it to:
```
PermitRootLogin yes
```
Save and exit (Ctrl+O, Enter, Ctrl+X).