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

Ability to log the IP address of a rejected connection? #120

Open
TheHippoMan opened this issue Aug 11, 2023 · 0 comments
Open

Ability to log the IP address of a rejected connection? #120

TheHippoMan opened this issue Aug 11, 2023 · 0 comments

Comments

@TheHippoMan
Copy link

I set up my sshesame server to only allow public key auth, and, of course, when hackers try to break into my system, these attempts are usually rejected (which I want). When a remote host is rejected by my sshesame server in this way, I get the following warning message:

WARNING 2023/08/11 14:15:46 Failed to accept connection: Failed to establish SSH server connection: ssh: disconnect, reason 11: Normal Shutdown, Thank you for playing

Is there any way to get the remote host's IP address to show up in this warning message?

Thank you very much in advance.

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

1 participant