Add ssh_notenabled.md
This commit is contained in:
parent
b6a02edf73
commit
2b5d8f9d1b
22
ssh_notenabled.md
Normal file
22
ssh_notenabled.md
Normal 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).
|
||||
Loading…
x
Reference in New Issue
Block a user