zengzhaozheng / sshxcute

Automatically exported from code.google.com/p/sshxcute
0 stars 0 forks source link

com.jcraft.jsch.JSchException: Auth fail #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow the steps mentioned in the Project Home. Add jar. It will give this 
error.
2.
3.

What is the expected output? What do you see instead?
Expected : Connection should be successful. It shows exception : 
com.jcraft.jsch.JSchException: Auth fail. 

What version of the product are you using? On what operating system?
Putty : Release 0.60
 OS : Windows Server

Please provide any additional information below.
Trying to connect to server which is successfull from Putty using same 
credentials but not through Java Class file program. 

Exception in Detail : com.jcraft.jsch.JSchException: session is down
    at com.jcraft.jsch.Session.openChannel(Session.java:752)
    at net.neoremind.sshxcute.core.SSHExec.exec(SSHExec.java:164)
    at putty.cmdToPutty.main(cmdToPutty.java:30)

Original issue reported on code.google.com by rohit.co...@gmail.com on 17 Dec 2012 at 12:50

GoogleCodeExporter commented 8 years ago
I also meet the same problem. My OS is win7, jdk1.7.

Original comment by dinglei2...@gmail.com on 23 May 2014 at 10:25

GoogleCodeExporter commented 8 years ago
Not all the host will meet the error com.jcraft.jsch.JSchException: Auth fail

Original comment by dinglei2...@gmail.com on 23 May 2014 at 10:27