Hi,
How to make tmate create sessions every time existing ssh connection is connected to or gets disconnected?
I have system at workplace that I'd like to connect to from multiple devices. This machine will run 24x7. I need to run tmate in this machine like a daemon and write ssh session id's to a file and then I can use git or syncthing to push my other devices so that I can connect to work-machine.
Everytime I quit a session or it disconnects by itself, I need tmate to create new session and write it to the synced file.
Thanks,
Selva.