-4

In sshd_config I've commented out:

Subsystem sftp /usr/lib/openssh/sftp-server

but sftp is still working. What am I missing?

Jacksonkr
  • 465
  • 1
  • 7
  • 16

1 Answers1

6

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.

Sven
  • 98,649
  • 14
  • 180
  • 226