Answer the question
In order to leave comments, you need to log in
How to avoid duplicate ssh authorization notification?
Hello. There is a server running Ubuntu Server 14.04. It was necessary to organize an e-mail notification when a user is authorized via ssh. Now this is implemented by writing the following in /etc/ssh/sshrc:
echo $USER $(date) $SSH_CLIENT | mail -s "ssh login" [email protected]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question