How to skip Kerberos Authentication : JSch JAVA

While connecting with a jump server i wrote following code. try{session = jsch.getSession(JumpServerUserName, JumpServerIP, 22);session.setConfig(“StrictHostKeyChecking”, “no”);session.setPortForwardingL(localPort, JumpServerIP, 22);session.setUserInfo(new MyUserInfo());session.setPassword(e1);session.connect();}catch(Exception tre){System.out.println(“The session could not be established to ” + JumpServerUserName + “@” + JumpServerIP+new Timestamp(System.currentTimeMillis()));} The code worked fine but i was getting following messages. Kerberos username [Username]: Kerberos password for [Username]: The messages didnt interfere […]

Verified by MonsterInsights