org.jclouds.ssh.SshException: error acquiring ChannelExec(): channel is not opened.


Solutions on the web5

Solution icon of googlegroups
via Google Groups by Oleg Aravin, 4 months ago
error acquiring ChannelExec(): channel is not opened.

Solution icon of apache
via incubator-whirr-user by Paul Baclace, 1 year ago
ubuntu@50.x.y.z:22: Error connecting to session.

Solution icon of apache
via incubator-whirr-user by Andrei Savu, 1 year ago
ubuntu@50.x.y.z:22: Error connecting to > session.

Stack trace

org.jclouds.ssh.SshException: error acquiring ChannelExec(): channel is not
 opened.
	at org.jclouds.ssh.jsch.JschSshClient.propagate(JschSshClient.java:324)[classes/:na]
	at org.jclouds.ssh.jsch.JschSshClient.acquire(JschSshClient.java:174)[classes/:na]
	at org.jclouds.ssh.jsch.JschSshClient$ExecConnection.create(JschSshClient.java:387)[classes/:na]
	at org.jclouds.ssh.jsch.JschSshClient$ExecConnection.create(JschSshClient.java:1)[classes/:na]
	at org.jclouds.ssh.jsch.JschSshClient.acquire(JschSshClient.java:167)[classes/:na]
	at org.jclouds.ssh.jsch.JschSshClient.exec(JschSshClient.java:417)[classes/:na]
	at org.jclouds.ssh.jsch.JschSshClientLiveTest$2.call(JschSshClientLiveTest.java:195)[test-classes/:na]
	at org.jclouds.ssh.jsch.JschSshClientLiveTest$2.call(JschSshClientLiveTest.java:1)[test-classes/:na]
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_33]
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_33]
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_33]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_33]
	at java.lang.Thread.run(Thread.java:680)[na:1.6.0_33]
Caused by: com.jcraft.jsch.JSchException: channel is not opened.
	at com.jcraft.jsch.Channel.sendChannelOpen(Channel.java:673)[jsch-0.1.48.jar:na]
	at com.jcraft.jsch.Channel.connect(Channel.java:151)[jsch-0.1.48.jar:na]
	at com.jcraft.jsch.Channel.connect(Channel.java:145)[jsch-0.1.48.jar:na]
	at org.jclouds.ssh.jsch.JschSshClient$3.create(JschSshClient.java:358)[classes/:na]
	at org.jclouds.ssh.jsch.JschSshClient$3.create(JschSshClient.java:1)[classes/:na]
	at org.jclouds.ssh.jsch.JschSshClient.acquire(JschSshClient.java:167)[classes/:na]
	... 11 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
5 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
14 more bugmates