At the moment it seems JSch isn't very verbose as to what happens AFTER the
ssh connection is established. You can configure a logger but it will only
give you information on the phase up until the SSH connection is
established. Nothing more.
Consider the following local port forwarding scenario:
myworkstation --> jumphost --> desthost
I would like to see the following logged:
1. When myworkstation receives a tcp connection it should log that this is
happening, i.e in the Socket.accept().
Something like:
"Received connection on myworkstation:lport from 10.1.2.3"
2. Following the above JSch should log what it is now attempting to do.
Something like:
"Instructing SSH server at jumphost to establish connection to
desthost:rport"
3. The result of the previous can be either success or failure.
In case of success, JSch should log something like:
"Connection successfully established from jumphost to desthost:rport. Local
port forwarding is now active"
In case of failure something like:
"jumphost cannot establish connection to desthost:rport"
Is this somehow possible or do I need to file a feature request?
Peter
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users