mirror of
https://github.com/xdtianyu/scripts.git
synced 2025-08-09 20:01:53 +08:00
Create README.md
This commit is contained in:
6
ssh/README.md
Normal file
6
ssh/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
sshrc.sh: Send mail while ssh login
|
||||
|
||||
pam.sh: Send mail while ssh login or logout, need add the follow line to /etc/pam.d/sshd
|
||||
|
||||
>session optional pam_exec.so log=/var/log/login.log /etc/ssh/pam.sh
|
||||
|
Reference in New Issue
Block a user