SFTP, which stands for SSH File Transfer Protocol, or Secure File Transfer Protocol, is a separate protocol packaged with SSH that works in a similar way over a secure connection. Use the command given below to connect via SFTP to a server listening on a non-default ssh port.
Connect via SFTP to a specific port
[root@dbappweb ~]# sftp -oPort=port user@host
Here I connected to a server 203.209.86.331 from user sspat via sftp listening on port number 2201
Example:
[root@dbappweb ~]# sftp -oPort=2201 sspat@203.209.86.331 Connecting to 203.209.86.331... password Enter Password for sspat: Password: