Hi,

I am using JSch to do SFTP with a partner. The partner asks me to connect to 
their SFTP server through SSH tunneling:

Metlife Security Policy mandates that
Trading Partners connect to MetLife’s Transmission servers via SSH
tunneling. The following configuration
steps must be performed in the client environment:

 I.
Create a tunnel connection:
 ssh2 –S –L <port_num>:<target_svr>:22   <tunnel_user>@<tunnel_svr>
 II.
Use the tunnel to connect:
 sftp2 <target_svr_user>@localhost#<port_num>
 Where:
port_num  -  any local port number customer may specify.
target_svr  - 

tunnel_user - will be provided by MetLife External
Transmission Admin Team.
tunnel_svr  - 
target_svr_user  -  will
be provided by MetLife External Transmission Admin Team.


My opinion is that this is unnecessary because SFTP is SSH-based already (but 
the partner insists on their requirement).
I don't see JSch supports this. I see WinSCP supports this. Do you think this 
should be supported by JSch?

Best Regards,
Viet Phan
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to