Disable remote ftp in OS X but allow ftp from localhost

0

I am running OS X 8.5

I want to disable remote FTP but allow local FTP because I need to use SFTP.

Is there a quick command that might handle this?

Marin

Posted 2015-01-09T21:21:33.957

Reputation: 342

Don't allow FTP through your network firewall. Done. – joeqwerty – 2015-01-09T21:31:58.907

Hi , I am reading the documentation on ftpd.conf but can't seem to find any clue as to how to disable remote ftp. Is this possible at all without having to resort to your suggestion? – Marin – 2015-01-09T21:40:15.433

If you don't want to allow remote FTP connections why would you allow it inbound through your firewall? Wouldn't that be the best solution, regardless of the settings in the OS? – joeqwerty – 2015-01-09T21:41:21.000

Thank you Joe, should I just use ipfw like so deny tcp from any to server-ip dst-port 21 ? – Marin – 2015-01-09T22:18:39.260

1FTP & SFTP are not related. Disabling FTP will not have any impact on SFTP. Or do you mean FTPS ? – sfk – 2015-01-09T22:53:16.827

Actually I just found out there is an SFTP server on Mac OS X , i stand corrected. – Marin – 2015-01-12T14:00:41.910

No answers