Hello,
I recently upgraded to the latest version of Jsch and we are having a
problem. Can someone please explain to me why my HostKey would come back as
null?
Jsch jsch = new Jsch();
jsch.setKnownHosts("c:\my_hosts");
Session session = jsch.getSession("USER","sftp.mydomain.com",22);
HostKey hk = session.getHostKey();
if(hk == null){
//we have a problem
}
I have verified using WinSCP and SFTP on Linux that the server is
functioning propperly. This appears to be an issue with Jsch.
Any help would be greatly appreciated.
thanks.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users