sftp is handled by both openssh and ProFTPd on a Virtualmin system. Port 22 is the ssh server, and will accept an sftp connection (but will not be limited to sftp), while ProFTPd listens on port 2222 for sftp connections, and will be limited in whatever way ProFTPd is configured to limit users.
And, according to the ProFTPd docs, the option is TLSRequired on
Yeah. I included a link to those docs. I thought Proftpd listened on 2222 but when I fired it up to check there was nothing in netstat. I ran into it first when I tried to make ssh listen on that port. Not sure why it didn’t show up now, but, I don’t use it so not gonna sweat it.
Yeah. It is still installed, I just turned it off. I don’t know what happened but I’m finding it ONLY on IPV6 in netstat. But, I don’t use it so I’m not gonna spend time trouble shooting it. I started it because I didn’t want to give advice without verifying the port 2222 thing. Memory being what it is now daze.