I have recently installed sftp (secure shell ftp) into proftpd. Knowing that the default port for sftp is 22, I have also changed the port value from 23 to 22 in /etc/proftpd.sftp.conf. So I expect it only to work through this port. Yet when I telnet port 21, it returns:
220 ProFTPD 1.3.5 Server ready.
Does that mean port 21 is active? If so, how can I close it? I am running csf as firewall and have only added port 22 for ftp in TCP_IN and TCP_OUT.
BTW, my server uses centos 6.5 and Directadmin panel.
Any ideas?
Thanks.