Hi,

Can jsch connect to anyother port than 22?

It looks like whenever I change to port other than 22 it is not able to
connect.

Please let me know how to get passed this.

Thanks
Githa

-----Original Message-----
From: Githa Ramalingam [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 01, 2007 12:45 PM
To: 'Atsuhiko Yamanaka'; '[email protected]'
Subject: Using tunneling

Hi,

I need to connect from my network to another network. So I created a tunnel
from my server like


Ssh -L 2022:yy.yyy.yyy.yy:22 [EMAIL PROTECTED]

With this setting when I ssh to my localhost at port 2022 I am getting
forwarded to the yy.yyy.yyy.yy.

Manually it is working when I do ssh -p 2022 [EMAIL PROTECTED]


Now my question is through the application, where I use the jsch, it is not
working.

How can I figure out where it is getting throwed off?
Is there a command line utility in jsch through which I can verify that the
tunnel is working?

Your help will be greatly appreciated.

Thanks
Githa


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to