After login attempts, can a script be run from ssh daemon ?
Hi, Just an idea, lazy of changing/looking in the code of ssh, can a script be started at every ssh sucessfull or not attempts ?
thx |
write in /etc/bashrc
|
/etc/bashrc would be good for successful logins but http://www.linuxquestions.org/questi...tempts-340366/ is a sticky and tells several ways to deal with failed logins.
basic plot: use some file tailing method to read log file and do what you need to do |
All times are GMT -5. The time now is 12:10 PM. |