PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Check Current SSH Connections On Linux With Bash

Go down

Check Current SSH Connections On Linux With Bash Empty Check Current SSH Connections On Linux With Bash

Post by jamied_uk 19th July 2016, 19:14




Code:
#!/bin/bash
# Usage: ./check_ssh.sh
clear
sudo netstat -tnpa | grep 'ESTABLISHED.*sshd'
jamied_uk
jamied_uk
Admin

Posts : 2943
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum