3/31/2024 0 Comments Entware replace dropbear sshOut of respect for your attention and concern for your privacy I don't have advertisements or any tracking cookie. Smart clock on the desk for those high severity notifications Change logģ: Added more files to the whitelist as a precaution. I have setup a smart clock to receive the MQTT message. I added /etc/ssh/login-notify, /etc/ssh/sshd_config, /etc/pam.d/sshd under System -> Backup / Flash Firmware -> Configuration in LuCI to prevent it being removed during OpenWrt upgrades. Whitelist login-notify to survive upgrades session optional pam_exec.so seteuid /etc/ssh/login-notify Triggering login-notify on SSH loginĪdded the following to /etc/pam.d/sshd to trigger the login-notify script during SSH login via Linux Pluggable Authentication Module. ![]() If you prefer email to MQTT, Then you can use this script instead. #! / bin / sh if then message= "" mosquitto_pub - h 192.168.1.10 - m "$message" - t house / smartwatch fi
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |