mirror of
https://github.com/Horhik/dotfiles.git
synced 2025-02-25 02:21:14 +00:00
20 lines
340 B
Markdown
20 lines
340 B
Markdown
# Script: info-ssh-sessions
|
|
|
|
A script that displays the count of current ssh sessions as well as the public IP address of the fist session.
|
|
|
|

|
|
|
|
|
|
## Dependencies
|
|
|
|
* `lsof`
|
|
|
|
|
|
## Module
|
|
|
|
```ini
|
|
[module/info-ssh-sessions]
|
|
type = custom/script
|
|
exec = ~/polybar-scripts/info-ssh-sessions.sh
|
|
interval = 5
|
|
```
|