Re: [JSch-users] Using tunneling
Status: Alpha
Brought to you by:
ymnk
From: Conover, S. <so...@ve...> - 2007-11-02 18:16:18
|
I tried a different port for SFTP and it works, not so sure about ssh, although it should=20 Simanti Olive Eswitch Engineer III - Santa Cruz 831-4576154 -----Original Message----- From: jsc...@li... [mailto:jsc...@li...] On Behalf Of Githa Ramalingam Sent: Thursday, November 01, 2007 12:03 PM To: 'Githa Ramalingam'; 'Atsuhiko Yamanaka'; jsc...@li... Cc: 'Howard Harris' Subject: Re: [JSch-users] Using tunneling 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:git...@ve...] Sent: Thursday, November 01, 2007 12:45 PM To: 'Atsuhiko Yamanaka'; 'jsc...@li...' 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 us...@xx....xx 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 user1@localhost. 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 JSc...@li... https://lists.sourceforge.net/lists/listinfo/jsch-users |