User Tools

Site Tools


linux_faq:notify_on_ssh_connection_established

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux_faq:notify_on_ssh_connection_established [2019/06/25 08:10]
admin [Отправка уведомлений с помощью pam_exec]
linux_faq:notify_on_ssh_connection_established [2019/06/25 08:11] (current)
admin [Отправка уведомлений с помощью pam_exec]
Line 22: Line 22:
 #!/bin/sh #!/bin/sh
  
-sender="​pve@autosys.tk"​ +sender="​admin@autosys.tk"​ 
-recepient="​mike@autosys.tk"​+recepient="​admin@autosys.tk"​
  
 if [ "​$PAM_TYPE"​ != "​close_session"​ ]; then if [ "​$PAM_TYPE"​ != "​close_session"​ ]; then
linux_faq/notify_on_ssh_connection_established.txt · Last modified: 2019/06/25 08:11 by admin