ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muddassir Farooq <mfar...@iscrybe.com>
Subject Issue in SCP using jsch
Date Thu, 07 Feb 2013 12:08:26 GMT
Hi all

i am facing the following issue when i run scp task of ant using .pem file.
SSH access is successful otherwise.

          com.jcraft.jsch.JSchException: Auth fail
        at com.jcraft.jsch.Session.connect(Session.java:491)
        at com.jcraft.jsch.Session.connect(Session.java:162)
        at
org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession(SSHBase.java:223)
        at
org.apache.tools.ant.taskdefs.optional.ssh.Scp.upload(Scp.java:324)
        at
org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:226)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.Main.runBuild(Main.java:809)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Ant Version in use: Apache Ant(TM) version 1.8.2 compiled on December 20
2010
Ant Version in use: jsch-0.1.49.jar

Please advise on urgent bases.

-- 
*Muhammad Muddassir Farooq*
Sr.  SCM Engineer

<http://www.iscrybe.com/>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message