|
|
|
@ -111,8 +111,7 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# SSH Server |
|
|
|
# SSH Server |
|
|
|
sudo -E apt-get install -y openssh-client |
|
|
|
sudo -E apt-get install -y openssh-server || sudo -E apt purge -y openssh-client; sudo -E apt-get install openssh-server |
|
|
|
sudo -E apt-get install -y openssh-server openssh-sftp-server |
|
|
|
|
|
|
|
#sudo sed -i 's/#PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config |
|
|
|
#sudo sed -i 's/#PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config |
|
|
|
#sudo sed -i 's/PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config |
|
|
|
#sudo sed -i 's/PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config |
|
|
|
#sudo sed -i 's/#PermitRootLogin.*/PermitRootLogin prohibit-password/' /etc/ssh/sshd_config |
|
|
|
#sudo sed -i 's/#PermitRootLogin.*/PermitRootLogin prohibit-password/' /etc/ssh/sshd_config |
|
|
|
|