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 on 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 : 2471
Join date : 2010-05-09
Age : 36
Location : UK

http://address-shortner.co.uk

Back to top Go down

Back to top


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