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

How to use it in production? #98

Open
Arctomachine opened this issue Sep 19, 2024 · 1 comment
Open

How to use it in production? #98

Arctomachine opened this issue Sep 19, 2024 · 1 comment

Comments

@Arctomachine
Copy link

Arctomachine commented Sep 19, 2024

I understand general idea of this app - hold bad ssh connections.
But how to make it work? What do I need to do in server to make it trap port 22 while I can connect to port 12345 freely?
Or how do I need to connect to port 22 to make it let me in (how to show it is good connection)? Important: without making my computer the only one whitelisted

@joel-gfdez
Copy link

AFAIK:

What do I need to do in server to make it trap port 22 while I can connect to port 12345 freely?

You run it on port 22 (check the README) and then connect to port 12345 like normally. There is nothing special you have to do here, you just have to configure your actual ssh server to listen on port 12345.

Or how do I need to connect to port 22 to make it let me in (how to show it is good connection)?

If Endlessh is listening on port 22, you can't. It only traps clients by returning random banners, it can't proxy to a real SSH server. You should do that on firewall/portforwarding level.

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

2 participants