Update install.sh

main
micutu 2024-08-28 18:11:50 +00:00
parent 75bd5a36e0
commit 4899ca6e2d
1 changed files with 11 additions and 1 deletions

View File

@ -23,4 +23,14 @@ echo '///---End update system ---///'
# Install OpenSSH
echo '///---Start install OPenssh ---///'
sudo apt-get install openssh-server -y
echo '///---End install OpenSSH ---///'
echo '///---End install OpenSSH ---///'
# Enable Firewall
echo '///---Enable firewall start ---///'
sudo ufw enable
echo '///---Enable firewall End ---///'
# configure the firewall
echo '///---Enable open SSH on firewall ---///'
sudo ufw allow OpenSSH
echo '///---Done ---///'