jnovack / autossh

Heavily customizable AutoSSH Docker container
https://hub.docker.com/r/jnovack/autossh/
MIT License
180 stars 80 forks source link

Add post script functionality #45

Open jseparovic opened 1 year ago

jseparovic commented 1 year ago

When set, SSH_POST_SCRIPT will be the location of a shell script to execute after starting autossh. This is useful to send some details to the server about the autossh client. For example, if a random port is used, then it's useful for the server to know who is on this port.