Install Script makes extra entry for PermitRootLogin #403

Closed
opened 2026-04-05 20:27:45 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @elmanuel127 on 5/3/2023

CloudPanel version(s) affected

2.2.2

Description

During the install script, the find and replace function to edit sshd_config makes an erroneous change to a comment block.
It finds a match in # the setting of "PermitRootLogin without-password".

How to reproduce

Reproduceable by installing CloudPanel on a base install of Ubuntu 22.04 and checking /etc/ssd/sshd_config

Possible Solution

No response

Additional Context

No response

*Originally created by @elmanuel127 on 5/3/2023* ### CloudPanel version(s) affected 2.2.2 ### Description During the install script, the find and replace function to edit sshd_config makes an erroneous change to a comment block. It finds a match in ```# the setting of "PermitRootLogin without-password".``` ### How to reproduce Reproduceable by installing CloudPanel on a base install of Ubuntu 22.04 and checking /etc/ssd/sshd_config ### Possible Solution _No response_ ### Additional Context _No response_
Sign in to join this conversation.