iopsys-feed/sshmngr
Xiaofeng Meng ed5169b94c sshmngr: Fix session detection for OpenSSH backend
The `sshmngr` service failed to list active sessions with the `sshd`
(OpenSSH) backend because the session detection logic could not handle
the process structure of modern OpenSSH, which uses an intermediate
process for new connections.

This commit resolves the issue by:
- Improving process lookup to check for grandparent PIDs, correctly
  identifying the session process.
- Querying the correct intermediate process for network connection details.
  parse netstat output.

The new logic is encapsulated in a `get_network_info` function within the
`openssh` backend script to maintain compatibility with the `dropbear`
backend, which uses a simpler implementation of the same function.
2025-06-24 18:04:44 +05:30
..
files sshmngr: Fix session detection for OpenSSH backend 2025-06-24 18:04:44 +05:30
bbfdm_service.json sshmngr: align with bbfdm 2024-12-05 12:58:35 +00:00
Config.in sshmngr: enable SFTP by default 2025-03-04 12:39:23 +00:00
Makefile sshmngr: enable SFTP by default 2025-03-04 12:39:23 +00:00