The three protocols are not interchangeable, even though cPanel will happily serve all of them on the same account. The choice has real consequences for firewall rules, logging, and what kind of help-desk tickets you generate in the next twelve months. Pick once, lock the others down.
What’s happening
FTP is the original — control on port 21, data on a separate port, credentials in cleartext. FTPS bolts TLS onto FTP, either explicit (AUTH TLS on 21) or implicit (TLS from the start, port 990). SFTP is unrelated: it runs over SSH on port 22 and is a completely different wire protocol. On cPanel, SFTP uses the system shell — which is why “no shell” cPanel users still need a shell value of /usr/local/cpanel/bin/jailshell or noshell for SFTP to behave.
How to verify
Confirm which the server is actually offering:
ss -ltnp | grep -E '21|22|990'
grep -i 'tls' /etc/pure-ftpd.conf
testssl.sh --starttls ftp <host>:21
Test from outside — lftp will reveal whether explicit TLS negotiates cleanly, whether passive data ports land in the firewall hole you opened, and whether the certificate matches the hostname clients are using.
The fix
- Default to SFTP for staff and for any account where the user has shell access. One port, one log file in
/var/log/secure, modern key-based auth. - Use FTPS (explicit, on 21 with AUTH TLS) only for legacy clients that refuse SFTP — design CMS uploads from non-technical content editors are the usual reason. Force TLS, refuse cleartext fallback in
/etc/pure-ftpd.confwithTLS 2. - Disable plain FTP outright. There is no remaining good reason to allow cleartext credentials over the public internet — even backup scripts.
- For passive FTPS, configure a narrow
PassivePortRange(e.g. 40000-40100) and open exactly that range in the firewall. Wider ranges work but make audit harder. - Log review: SFTP shows up in
/var/log/secure, Pure-FTPD in/var/log/messagesplus/var/log/xferlog. Make sure both feed the SIEM if you have one.
Stack Harbor migrates accounts off plain FTP as part of every WHM server management onboarding.