vi-dev0/login-alert-bot

sftp login notification

sidboy55555 opened this issue · 0 comments

Summary

Brief explanation of the feature.
Trigger an alert upon SFTP login, mirroring the alert mechanism for SSH login.

Motivation

Why are we doing this? What use cases does it support? What is the expected outcome?
Since SSH enables users to login via SFTP by default, as SFTP operates on SSH, it would be beneficial to provide acknowledgements for SFTP logins as well. However, it's worth noting that /etc/profile.d is not read when an SFTP connection is initiated.