Hi, +-From: =?ISO-8859-1?Q?Alexander_Kj=E4ll_-_alaTest?= <a...@alatest.com> -- |_Date: Tue, 08 Nov 2011 15:07:33 +0100 __________________________________ | |I have a java program that uses the jsch library, and we have started to |add kerberos to our server infrastructure.
|Is there some way to force the jsch library to automatically fail the |gssapi-with-mic auth method if it doesn't have all required information, |instead of prompting a imaginary user (that isn't there as this is some |background server software) for information? Is it enough to drop "gssapi-with-mic" from "PreferredAuthentications" ? |My code looks like this: ... |UserInfo ui = new MyUserInfo(); |session.setUserInfo(ui); session.setConfig("PreferredAuthentications", "publickey,keyboard-interactive,password"); |session.connect(); Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users