This commit is contained in:
2020-06-25 10:39:26 +02:00
parent 47579b71d5
commit 1f0b311eae

View File

@@ -2,7 +2,7 @@ mrepo=https://git.bprieshof.nl/Work/BCK-ServTest
mbranch=master
#install needed packages
apt install rssh vsftpd -y
apt install rssh vsftpd openssh-server -y
#Setup groups
groupadd sftpusers
@@ -55,5 +55,7 @@ ufw allow 30000:31000/tcp
#SSH/SFTP
ufw limit 22/tcp
echo "y" | ufw enable
#Restart services
#Restarting and enableing services
systemctl enable vsftpd sshd
systemctl restart vsftpd sshd