« Return to Thread: Determine forwarded ports?

Determine forwarded ports?

by joeull :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View in Thread

Hi. Can you determine the ports that are forwarded during an SSH connection? I'd like to create a script using the randomly  forwarded ports in our application, but don't know how to determine that. I can grep and diff nestat -lant | grep -i list, but I'd like just get a clean list of the currently forwarded  ports. I'm using  OpenSSH_4.3p2.

Thoughts?
Thanks!

 « Return to Thread: Determine forwarded ports?