camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richa <rsinha2...@gmail.com>
Subject SFTP authentication issue
Date Thu, 28 Feb 2013 08:47:49 GMT
Hi,
I am trying to connect to an SFTP endpoint. The JSCH class uses the
following parameters for authentication: 
("PreferredAuthentications",
"gssapi-with-mic,publickey,keyboard-interactive,password")
If I use the custom JSCH class then I am not able to connect to my SFTP
endpoint because of the gssapi-with-mic. To solve this problem, I overwrote
this class and commented the following line: 
config.put("PreferredAuthentications",
"gssapi-with-mic,publickey,keyboard-interactive,password");
in the static block and instead put:
config.put("PreferredAuthentications",
"publickey,keyboard-interactive,password");
Now it works fine. But I want to know is there some other way to solve this
issue or programatically switch off the use of gssapi-with-mic?



--
View this message in context: http://camel.465427.n5.nabble.com/SFTP-authentication-issue-tp5728286.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message