Re: [JSch-users] ssh over ssh using JSCH

2013-01-15 Thread Chinmay Shepal
Thank you for your quick response. I could solve the issue using the examples provided by jsch team!! On Sun, Jan 13, 2013 at 2:07 AM, Paul Ebermann paul.eberm...@esperanto.dewrote: Chinmay Shepal skribis: Hi, Recently I have started using jsch. Our setup here is like my server

[JSch-users] ssh over ssh using JSCH

2013-01-08 Thread Chinmay Shepal
Hi, Recently I have started using jsch. Our setup here is like my server resides behind gateway. So first I need to do ssh to gateway and from there I need to ssh to my server. I am using following code. package testPack; import java.io.InputStream; import com.jcraft.jsch.ChannelExec; import