I am migrating vb.net code which is already connected in ftp folder path to sftp using chilkat dll.
In Chilkat.sftp, they are explicitly mentioned about Port Number.
At present, i am using the mentioned Standard SSH Port # 22. It works.
My question, do i need to mention the Port Number. And whether the Port Number has to be 22 ??
asked Sep 11 '14 at 14:01
Servers listen at well known port numbers. For example, FTP servers listen at port 21 or port 990 for SSL/TLS. SMTP servers listen at port 25, 587, or 465. HTTP servers listen at port 80 or 443. SSH servers typically listen at port 22. There is no "SSL" port for SSH because the SSH transport itself is an encrypted channel. Unless the SSH server is explicitly configured to listen at a non-standard port, it should be listening at port 22.
Yes, you must pass 22 for the port.
answered Sep 11 '14 at 22:21