Browse Source

Merge pull request #980 from hestiacp/fix/978-Install-disable_default_change_password_auth

#978 Disable the forced enable Password Auth
Raphael Schneeberger 5 years ago
parent
commit
0ee3fdfafb
2 changed files with 0 additions and 4 deletions
  1. 0 2
      install/hst-install-debian.sh
  2. 0 2
      install/hst-install-ubuntu.sh

+ 0 - 2
install/hst-install-debian.sh

@@ -918,8 +918,6 @@ rm -f /usr/sbin/policy-rc.d
 
 
 echo "[ * ] Configuring system settings..."
-# Enable SSH password authentication
-sed -i "s/rdAuthentication no/rdAuthentication yes/g" /etc/ssh/sshd_config
 
 # Enable SFTP subsystem for SSH
 sftp_subsys_enabled=$(grep -iE "^#?.*subsystem.+(sftp )?sftp-server" /etc/ssh/sshd_config)

+ 0 - 2
install/hst-install-ubuntu.sh

@@ -916,8 +916,6 @@ rm -f /usr/sbin/policy-rc.d
 #----------------------------------------------------------#
 
 echo "[ * ] Configuring system settings..."
-# Enable SSH password authentication
-sed -i "s/rdAuthentication no/rdAuthentication yes/g" /etc/ssh/sshd_config
 
 # Enable SFTP subsystem for SSH
 sftp_subsys_enabled=$(grep -iE "^#?.*subsystem.+(sftp )?sftp-server" /etc/ssh/sshd_config)