Hello Andre,

you can use the Eclipse based Remote System Explorer (RSE)
to browse remote file system through Jsch / Sftp:
http://www.eclipse.org/dsdp/tm/

When you've set up a tunnel from middle to the remote,
you'll need to create a forwarded port on the middle
system. so in order to do sftp to remote, you'd not
connect to remote port 22, but you'd connect
to middle port xyz (forwarded).

RSE currently cannot do the port forwarding automatically,
but you can manually set it up. We've got an enhancement
request for port forwarding, and if you'd care for 
implementing such tunnelling support we'd welcome
your contribution to Eclipse Open Source:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=195170

Cheers,
--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Andre Charbonneau
> Sent: Friday, August 24, 2007 7:40 PM
> To: jsch-users@lists.sourceforge.net
> Subject: [JSch-users] multi-stage sftp tunnelling
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Greetings,
> I've been writing an application that uses the Jsch libraries 
> lately and
> it works great!
> 
> In my scenario, because of firewall issues, the end user 
> cannot connect
> directly to the remote system, and therefore has to go 
> through a middle
> system (or gateway system as I often call it).  For example:
> 
> User's Desktop  -----------> middle.system -------------> 
> remote.system
> 
> What I do for ssh is that I connect to the middle system and 
> then create
> a ssh tunnel from the user's desktop to the remote system.  
> This works well.
> 
> But what I would like to do now is to allow the user to 
> browse the file
> system on the remote system and transfer files, preferably using sftp.
> 
> I've search the mailing list and Jsch examples for 
> instruction on how to
> do this but in vain.  Has someone managed to implement something like
> this before and could maybe give me some pointers on how to do this?
> 
> Any feedback about this would be much appreciated.
> 
> Regards,
>       Andre
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGzxfshiehvD+v9JARAmBwAJ9h2OFujsZp1GEWB2MTxLoojk/T7ACcC5zF
> ewF6Pha9iDvq8uADgLElSWQ=
> =l57T
> -----END PGP SIGNATURE-----
> 
> --------------------------------------------------------------
> -----------
> 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
> JSch-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jsch-users
> 

-------------------------------------------------------------------------
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
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to