<- Back

ssh

List all active connections on a server
List sockets
ss | grep ssh
List processes
pgrep -ai sshd
-a
--list-full: List the full command line as well as the process ID.
-i
--ignore-case: Match processes case-insensitively.