correct. Big Sur , so how do i deactivate it in general. ? do pkg managers ie like homebrew let you remove mac system packages ? how do you completely remove stuff on mac like you do in linux ?
AFAIK the ftp server functionality is not included with Big Sur (actually it’s gone since High Sierra/Mojave and it was pulled to instead emphasize SFTP usage). Anyway, an outgoing sftp/ftp is something you (or some program you have installed) have to initiate.
If your find that on your system an unwanted outgoing passive ftp connection is initiated (there are various ways to do that e.g. from terminal
ps -e | grep ftp
; modify the grep search according your needs or use e.g.
less
to display and scroll trough all active processes), first step then would be to kill the process (having obtained the process id from the previous command use
kill process-ID
).
Theren a next step I would try to identify which program from your startup items initiates it.
If you have installed programs and other packages using Homebrew, well there is an additional source to check for processes called on startup.
Of course you could just block port 20, so passive ftp connections will not work,
here is some guide on how to use pfctl.
What you want to achieve and why?