Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse Port Forwarding get source #157

Closed
haylinmoore opened this issue Aug 25, 2021 · 3 comments
Closed

Reverse Port Forwarding get source #157

haylinmoore opened this issue Aug 25, 2021 · 3 comments

Comments

@haylinmoore
Copy link

Currently ReversePortForwardingCallback seems to only provide the destination host and port. Is there a way to get the source? Like for somebody does -R 2223:1.1.1.1:22, I want to see they are trying to setup a reverse port forward to 1.1.1.1:22.

@MexHigh
Copy link

MexHigh commented Jan 18, 2024

Why did you close this? Have you found a solution?

@smlx
Copy link

smlx commented Jan 18, 2024

The last two components of -R 2223:1.1.1.1:22 are happening on the local side, not the remote side. Therefore there is nothing to log, because the server doesn't have any information about what the local SSH client is doing with the connection.

@MexHigh
Copy link

MexHigh commented Jan 18, 2024

@smlx Hmm ok I already thought so, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants