how to run a script automatically in server soon after client system establish ssh connection with the server
for ex:
suppose a user will logon to my computer from another system(connected via lan) using ssh connection. At that time, A script(python or shell) should be run automatically in my system to perform some validation?
How to run the script automatically in server system?