In sshd_config I've commented out:
sshd_config
Subsystem sftp /usr/lib/openssh/sftp-server
but sftp is still working. What am I missing?
sftp
Port 22 is SSH/scp/SFTP. Port 21 is ftp. vsftpd handles FTP/FTPS, not SFTP. They are different protocols, and everything is like it's meant to be.
vsftpd