mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update install.sh
This commit is contained in:
parent
0213731fb5
commit
47f944d81e
@ -677,6 +677,12 @@ tweak_ssh(){
|
||||
fi
|
||||
|
||||
|
||||
|
||||
#echo "Generating MOTD for users.. *(auto-refreshed every 10hrs)"
|
||||
opencli server-motd > /dev/null 2>&1
|
||||
ln -s /etc/openpanel/ssh/99-ssh-openpanel-users-settings.conf /etc/ssh/sshd_config.d/99-ssh-openpanel-users-settings.conf > /dev/null 2>&1
|
||||
chmod +x /etc/openpanel/ssh/lazydocker.sh > /dev/null 2>&1
|
||||
|
||||
# ssh on debian, sshd on rhel
|
||||
if [ "$PACKAGE_MANAGER" == "dnf" ] || [ "$PACKAGE_MANAGER" == "yum" ]; then
|
||||
systemctl restart sshd > /dev/null 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user