How do you automatically start a program when someone connects via ssh.
With ubuntu when someone connects with ssh it automatically shows if any updates are available. I would like an app to automatically run when a person logs in to show them some information.
I've searched on Google to try and find something like this but the only things I can find is how to make the ssh service to start automatically at boot up.