Update install.sh
parent
75bd5a36e0
commit
4899ca6e2d
12
install.sh
12
install.sh
|
|
@ -23,4 +23,14 @@ echo '///---End update system ---///'
|
||||||
# Install OpenSSH
|
# Install OpenSSH
|
||||||
echo '///---Start install OPenssh ---///'
|
echo '///---Start install OPenssh ---///'
|
||||||
sudo apt-get install openssh-server -y
|
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 ---///'
|
||||||
Loading…
Reference in New Issue