__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#! /bin/sh
ssh_session_pattern='sshd: \S.*@pts/[0-9]+'
IFS="$IFS@"
pgrep -a -f "$ssh_session_pattern" | while read pid daemon user pty; do
echo "Found ${daemon%:} session $pid on $pty; sending SIGTERM"
kill "$pid" || true
done
exit 0
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| agent-launch | File | 1.16 KB | 0755 |
|
| sftp-server | File | 86.27 KB | 0755 |
|
| ssh-keysign | File | 334.6 KB | 4755 |
|
| ssh-pkcs11-helper | File | 250.42 KB | 0755 |
|
| ssh-session-cleanup | File | 239 B | 0755 |
|
| ssh-sk-helper | File | 262.42 KB | 0755 |
|