Show Active ssh Users
Show Active ssh Users
#!/bin/bash
lsof -i tcp -n | grep '\<ssh\>' | awk '{print $3}' | sort | uniq
Tech Me Away !!!
Show Active ssh Users
#!/bin/bash
lsof -i tcp -n | grep '\<ssh\>' | awk '{print $3}' | sort | uniq