From 2b5d8f9d1b3883f0d4f200f59efe78f5cc4c934b Mon Sep 17 00:00:00 2001 From: Ghassan Yusuf Date: Fri, 13 Feb 2026 20:18:02 +0300 Subject: [PATCH] Add ssh_notenabled.md --- ssh_notenabled.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ssh_notenabled.md diff --git a/ssh_notenabled.md b/ssh_notenabled.md new file mode 100644 index 0000000..671f291 --- /dev/null +++ b/ssh_notenabled.md @@ -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). \ No newline at end of file