Archived
commit
This commit is contained in:
1 parent
47579b71d5
commit
1f0b311eae
1 file changed
+4
-2
@@ -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
|
||||
Reference in new issue
Block a user