diff options
| author | hc <hc@email.ch> | 2025-02-01 11:12:38 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2025-02-01 11:12:38 +0800 |
| commit | e24d04352d70d11b4a8570d3a254b18a9ef8f225 (patch) | |
| tree | b2830e3ec25db42d23ed890b3aaf0d2a2b6e7a77 | |
| parent | 8c1a40d00ca69f2194a9f7c4cf4e884a2d225d3d (diff) | |
ncier
| -rwxr-xr-x | client_ls.py | 1 | ||||
| -rw-r--r-- | docs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/client_ls.py b/client_ls.py index fdcfc78..3e5f84d 100755 --- a/client_ls.py +++ b/client_ls.py @@ -22,4 +22,5 @@ def read_data(): print("file /tmp/ssh_sessions.json not found") return {} +print("source: /tmp/ssh_sessions.json") read_data() @@ -4,3 +4,5 @@ client_ls.py client_manager.py cron_setup.sh sys_init.py -you can run client_manager.py as standalone -cron_setup.py just adds client_manager.py to crontab +./client_ls.py to see all connections and their associated keys and ports + |
