Skip to content

Commit 0ee3fdf

Browse files
authored
Merge pull request hestiacp#980 from hestiacp/fix/978-Install-disable_default_change_password_auth
hestiacp#978 Disable the forced enable Password Auth
2 parents 93cca65 + c948be1 commit 0ee3fdf

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

install/hst-install-debian.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -918,8 +918,6 @@ rm -f /usr/sbin/policy-rc.d
918918

919919

920920
echo "[ * ] Configuring system settings..."
921-
# Enable SSH password authentication
922-
sed -i "s/rdAuthentication no/rdAuthentication yes/g" /etc/ssh/sshd_config
923921

924922
# Enable SFTP subsystem for SSH
925923
sftp_subsys_enabled=$(grep -iE "^#?.*subsystem.+(sftp )?sftp-server" /etc/ssh/sshd_config)

install/hst-install-ubuntu.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,6 @@ rm -f /usr/sbin/policy-rc.d
916916
#----------------------------------------------------------#
917917

918918
echo "[ * ] Configuring system settings..."
919-
# Enable SSH password authentication
920-
sed -i "s/rdAuthentication no/rdAuthentication yes/g" /etc/ssh/sshd_config
921919

922920
# Enable SFTP subsystem for SSH
923921
sftp_subsys_enabled=$(grep -iE "^#?.*subsystem.+(sftp )?sftp-server" /etc/ssh/sshd_config)

0 commit comments

Comments
 (0)