setPortForwardingR(rport,lhost,rport ) works well when rport is connected via loopback on remote. I need to do something similar to ssh -R option [bind-address] thing to specify rport to be listening on all interfaces
not just localhost. Is there API for that in JSch?
never mind i figured it out.