Hi, +-From: "Couchenour, Richard" <coucheno...@upmc.edu> -- |_Date: Wed, 25 Jul 2012 16:43:00 +0000 _______________ | |Here is a log that I captured from that server prior: | |Jun 27, 2012 6:40:25 PM JSchCommonsLogger log |INFO: Connecting to XXXXXX.XXXX.com port 21000 ...
It seems the banner message have been successful handled, and keyboard-interactive has been tried and failed. According to your previous log, I guess the prompt 'Enter password:' has caused the problem. Try following version, http://www.jcraft.com/jsch/jsch-0.1.49-rc1.zip If you need to stick to the older version like 0.1.37, you will need to implement 'UserInfo' with 'UIKeyboardInteractive' by yourself; for example, class YourUserInfo implements UserInfo, UIKeyboardInteractive { ... String[] promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo){ if(prompt.length>0 && prompt[0].startsWith("Enter password:"){ String[] result = new String[1]; retult[0] = "your password"; return result; } return null; } } Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users