#17 facing issue while using SCP with jsch

open
nobody
None
9
2013-02-07
2013-02-07
Muddassir
No

D:\mob-app-TRUNK\ws\m\server_build\build.xml:71: 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)

Discussion

  • Muddassir
    Muddassir
    2013-02-07

    jsch jar file in use - jsch-0.1.49.jar
    using scp with .pem file

     
  • Muddassir
    Muddassir
    2013-02-07

    jsch jar file in use - jsch-0.1.49.jar
    usinf scp with .pem file

     
  • Muddassir
    Muddassir
    2013-02-07

    • priority: 5 --> 9