SFTP uses port 22 (not 21) because it runs over SSH, not FTP. FTP uses port 21 (insecure), FTPS adds SSL/TLS encryption to FTP, while SFTP is a completely different SSH-based protocol. Connect with custom ports using -oPort=NUMBER. #SFTP #SSH #FileTransfer
https://pupuweb.com/what-port-does-sftp-really-use-and-why-is-it-confused-with-ftps-port-21/