Check Current SSH Connections On Linux With Bash
Page 1 of 1
Check Current SSH Connections On Linux With Bash
- Code:
#!/bin/bash
# Usage: ./check_ssh.sh
clear
sudo netstat -tnpa | grep 'ESTABLISHED.*sshd'
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|