From 1f0b311eae0702cbafec28b26a60ddffd8cbbfc1 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 25 Jun 2020 10:39:26 +0200 Subject: [PATCH] commit --- setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index e7327bb..a287f25 100644 --- a/setup.sh +++ b/setup.sh @@ -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 \ No newline at end of file