Skip to content

Instantly share code, notes, and snippets.

@mikaelz
Created September 16, 2017 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikaelz/c0d054dca98d72a14b3baf4b83556629 to your computer and use it in GitHub Desktop.
Save mikaelz/c0d054dca98d72a14b3baf4b83556629 to your computer and use it in GitHub Desktop.
List estabilished SSH service connections
#!/bin/bash
ss -tnpa |grep ESTAB |grep ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment