title: Why is Jsch asking for Kerberos username?
body: <p>I'm using <code>JSch</code> with key based authentication, yet when I try to connect I get asked for a Kerberos username. The code blocks where the comment <code>//blocks here</code> is located.</p>
  <pre><code>    final JSch jsch = new JSch();
      jsch.addIdentity(KEYPATH);
  
      final Session session = jsch.getSession( REMOTE_USERNAME, REMOTE_HOST );
      session.setConfig(&quot;StrictHostKeyChecking&quot;, &quot;no&quot;);
      log.debug(&quot;Connecting: &quot;);
      session.connect(); //blocks here
      log.debug(&quot;Connected.&quot;);
  </code></pre>