ssh-client-orchestrate/README.md
2024-06-02 11:59:11 -04:00

767 B

ssh-client-orchestrate

simple tool which opens a persisent ssh tunnel on the client-side to a specified target orchestrator, forwarding the client's ssh port. mainly for accessing machines which do not have forwarded ports

General idea: theres a main orchestrate server you initialize on a given host, which does have its ssh port forwarded to the internet. Then, you provide clients with a server to register with by giving a hostname and a port to forward to the machine.
This will fail if the client does not have a key-pair with the server.
Then it handshakes with the server and asks the server software to make an entry in /etc/hosts for it. the server then keeps track of the newly-registered client and periodically connects to check if its alive.