# Filezilla has FTP access even though Proftpd server is stopped

**URL:** <https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852>\
**Category:** Help! (Home for newbies)\
**Created:** [March 16, 2021, 2:43am UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852 "2021-03-16T02:43:31Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![gscerb](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/gscerb/32/624_2.png) [@gscerb](https://forum.virtualmin.com/u/gscerb)\
**Post date:** [March 16, 2021, 2:43am UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852/1 "2021-03-16T02:43:31Z")

</div>

Webmin version:1.973  
Virtualmin version: 6.15  
Usermin version:1.823  
OS: Ubuntu 20.04

I have a fresh installation with 2 virtual servers active. Proftpd is installed but currently stopped. However I am still able to use Filezilla with the SFTP - SSH protocol and access files on the site. The chroot and file directory restrictions seem to be ignored.

How is tit possible to have FTP service when Proftpd is stopped? Is there a 2nd FTP server that is also enabled by the initial Virtualmin installation?

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [March 16, 2021, 2:57am UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852/2 "2021-03-16T02:57:55Z")

</div>

You said it yourself…it’s SSH. Some FTP clients also speak SSH, and it is possible to interact with SSH in an FTP-like manner. If you don’t want a user to have ssh, you need to set their shell to something that can’t login.

If you want chroot, you need to enable Jails (but jails are not really a security feature…filesystem permissions provide security, Jails are just an aesthetic thing).

---

<div class="post-metadata">

**Author:** ![gscerb](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/gscerb/32/624_2.png) [@gscerb](https://forum.virtualmin.com/u/gscerb)\
**Post date:** [March 16, 2021, 3:05am UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852/3 "2021-03-16T03:05:47Z")

</div>

This makes sense.  
I have enabled chroot in “Owner Limits”. Is there another setting or procedure to enable Jails?

---

<div class="post-metadata">

**Author:** ![RJM\_Web\_Design](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/rjm_web_design/32/1457_2.png) [@RJM\_Web\_Design](https://forum.virtualmin.com/u/RJM_Web_Design)\
**Post date:** [March 16, 2021, 4:07am UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852/4 "2021-03-16T04:07:50Z")

</div>

Why are you running SSH on the default port anyway?

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [March 16, 2021, 5:00am UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852/5 "2021-03-16T05:00:18Z")

</div>

It doesn’t matter much what port ssh runs on. A determined attacker won’t be put off by using different ports, at which point the only security you have is the strength of your passwords (and the excellent security record of OpenSSH). Port knocking is probably an effective deterrent, but too complicated to ask less technical users to use (so is changing service ports, for that matter).

---

<div class="post-metadata">

**Author:** ![RJM\_Web\_Design](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/rjm_web_design/32/1457_2.png) [@RJM\_Web\_Design](https://forum.virtualmin.com/u/RJM_Web_Design)\
**Post date:** [March 16, 2021, 10:59am UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852/6 "2021-03-16T10:59:04Z")

</div>

> [@Joe](#):
>
> t doesn’t matter much what port ssh runs on.

Not by itself, no. But if you also use CSF’s “Port Scan Tracking” feature on all the commonly-abused default ports (including those for other operating systems, like 3389 for Windows RDP), you at least stop the bots and script kiddies. (It may also be doable in fail2ban. I’m not familiar with fail2ban other than knowing that it exists.)

> [@Joe](#):
>
> A determined attacker won’t be put off by using different ports

Agreed. But a lot of attackers (probably most) are dumb bots and random miscreants.

> [@Joe](#):
>
> Port knocking is probably an effective deterrent…

Another reason why CSF is a good tool. All you have to do is fill in the ports and protocols (in a GUI, mind you) to enable it. It’s configured, but not enabled, by default. There are reasons why @Ilia and I love CSF.

> [@Joe](#):
>
> but too complicated to ask less technical users to use (so is changing service ports, for that matter).

Maybe these and other SSH-hardening strategies (keys, authorized users, etc.) can be built into Virtualmin so they can be done from the GUI by less-sophisticated users. They’re really not all that hard to do from the terminal, but they carry the risk of users locking themselves and other authorized users out due to syntax errors and other dumb admin tricks.

Then again, if Virtualmin can modify those settings, then Virtualmin itself becomes a potential security risk. So maybe not.

EDIT: The other benefit to changing the service port is that it gives the SSH daemon a break. The failed logins reported by SSH are typically zero when it’s running on a non-standard port. They’ve all been swatted away by the firewall like so many flies.

Richard

---

<div class="post-metadata">

**Author:** ![Ilia](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ilia/32/10185_2.png) [@Ilia](https://forum.virtualmin.com/u/Ilia)\
**Post date:** [March 16, 2021, 11:33am UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852/7 "2021-03-16T11:33:09Z")

</div>

Personally, I like changing default ports for SSH and other services (when possible), and block all attempts to perform port-scanning, because it helps to keep the server logs much cleaner from “garbage”, generated by ridiculous amount of attempts, when bots trying to connect/authenticate. It is a waste for drives I/O.

---

<div class="post-metadata">

**Author:** ![toreskev](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/toreskev/32/160_2.png) [@toreskev](https://forum.virtualmin.com/u/toreskev)\
**Post date:** [March 16, 2021, 5:23pm UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852/8 "2021-03-16T17:23:52Z")

</div>

Default fail2ban install does the job:

> tsdo ‘fail2ban-client status sshd’|grep “Total banned”  
> |- Total banned: 9168  
> |- Total banned: 1292  
> |- Total banned: 126  
> |- Total banned: 78  
> |- Total banned: 195  
> |- Total banned: 61  
> |- Total banned: 505  
> |- Total banned: 13810

Running on port 22, never bothered changing.

---

<div class="post-metadata">

**Author:** ![RJM\_Web\_Design](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/rjm_web_design/32/1457_2.png) [@RJM\_Web\_Design](https://forum.virtualmin.com/u/RJM_Web_Design)\
**Post date:** [March 16, 2021, 5:39pm UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852/9 "2021-03-16T17:39:33Z")

</div>

Yeah, I figured it could. I use CSF because I like it, out of habit, and because it populates some blocklists I maintain.

Richard

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [March 16, 2021, 6:07pm UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852/10 "2021-03-16T18:07:14Z")

</div>

> [@RJM\_Web\_Design](#):
>
> Maybe these and other SSH-hardening strategies (keys, authorized users, etc.) can be built into Virtualmin so they can be done from the GUI by less-sophisticated users.

I don’t mean the system administrator of the server. I mean regular users…the web developers uploading content, the clients uploading images, etc. Sure, if you just run your servers for your own use and don’t have any less technical users, go nuts. Make it as hard to use as you like! 😉

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [March 24, 2021, 6:08pm UTC](https://forum.virtualmin.com/t/filezilla-has-ftp-access-even-though-proftpd-server-is-stopped/109852/11 "2021-03-24T18:08:01Z")

</div>

Closed on March 24, 2021, 6:08pm UTC

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
