Initiating SFTP connections with a non standard port
SoftwareAnother quickie to serve as much as a reminder for me as a how-to post.
If you've configured the SFTP daemon on your target system to use a non-standard port as part of your security precaution mix, you can't pass this port number by appending a colon and the port to the address. Instead, use the SFTP options flag to declare the port:
% sftp -oPort [PORT] (USER@)[ADDRESS]
For example, to connect as user NotBillKurtis
to a local 192.168.1.128
server on port 50000
you would enter:
% sftp -oPort 50000 NotBillKurtis@192.168.1.128