1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 758
/ 1 Year ago, fri, november 25, 2022, 11:35:34
I have seen tutorials for reporting suspicious logins (from the wrong IP) using /etc/ssh/sshrc
.
I would like to take it to the next level and kick out those users (close the ssh session immediately).
I have tried exit (doesn't work) and logout (rejected: /etc/ssh/sshrc: line 16: logout: not login shell: use "exit").
How can I do that?
More From » ssh