add support for sftp custom port

per @Xenopathic on #12878 re submitting.