It's all about the answers!

Ask a question

com.jcraft.jsch.JSchException: Auth fail error on build


Ananya Joisa (4562124) | asked Jun 08 '12, 3:20 a.m.
edited Sep 06 '12, 2:28 a.m.
Hi,

I am running a build using Rational Team Concert. I am using the sshexec ANT command to connect to a remote machine but I am getting the error "com.jcraft.jsch.JSchException: Auth fail".

I found this solution-http://www.coderanch.com/t/107782/tools/Ant-SshExec-task-throwing-JschException
but I am not able to read,edit or change permissions for the file sshd-config.

Please help.

Thanks,
Ananya

One answer



permanent link
Spencer Murata (2.3k115971) | answered Dec 12 '12, 10:43 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
This is a bit beyond the scope of RTC since it is really between the ssh and the remote machine, but have you tried connecting with ssh directly without Ant?  There are a lot of things that could cause an SSL problem.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.