I want to connect to same host with multiple threads and perform some ssh operations. Can we share the channel object between threads. I tried to use but getting error like java.io.ioexception pipe closed, java.io.IOException: inputstream is closed. Then on this link I read that we can't access the different paths of same host with same Channel object. So I suspect that Channel is not thread safe. I am using this jsch
Can someone please help me on this.