vijayto / sshxcute

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

?what the reason about "session is down" ? #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
when i do ssh.exec() and uploadSingleDataToServer()

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 com.standard.business.healthcheck.HealthCheckConutExecutor.main(HealthCheckConutExecutor.java:78)

Original issue reported on code.google.com by woshili...@gmail.com on 12 Jul 2012 at 8:28

GoogleCodeExporter commented 9 years ago
There are two possible reasons for this error.

1.Either the credentials are wrong.
2.The server you are trying to connect is down. Just type ping servername in 
Command prompt and see server is up or not.

Original comment by bonyt...@gmail.com on 25 Nov 2012 at 7:24

GoogleCodeExporter commented 9 years ago
when i do ssh.exec()

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)

bt when i run same code from different machine itz working.

please solve this issue ASAP

thx

Original comment by i.ramandas on 27 Nov 2012 at 1:35