How do I make SSHJ initiate outbound SFTP on a non-standard port? <p>I'm doing this and it works fine but I'd like to be able to hit an sshd on a port other than 22.</p> <pre><code> final SSHClient ssh = new SSHClient(); ssh.addHostKeyVerifier( SFTP_KEY_FINGERPRINT ); ssh.connect( SFTP_SERVER_HOSTNAME ); try { ssh.authPassword( SFTP_USER , SFTP_PASSWORD ); final String src = fileToFtp.getFileName().toString(); final SFTPClient sftp = ssh.newSFTPClient(); try { sftp.put(new FileSystemFile(src), "/"); success = true; } finally { sftp.close(); } } finally { ssh.disconnect(); } </code></pre>