I would like to be notified about each SSH connection to the Linux (Debian) server.
Already saw some methods, which proposed to add mail command into own .bashrc, but this approach seems not to cover all possible cases.
What is the best practice to make such transversal notifications about SSH connections ?