Check Current SSH Connections On Linux With Bash

View previous topic View next topic Go down

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'
avatar
jamied_uk
Admin

Posts : 2260
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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