If you have ssh tunnels that are not running through autossh ereshkigal crashes when attempting to read the command line of the parent process.
Traceback (most recent call last):
File "./ereshkigal", line 614, in <module>
tm.update()
File "./ereshkigal", line 114, in update
connections = self.get_connections()
File "./ereshkigal", line 256, in get_connections
autohost = f.readlines()[0].split(':')[1]
IndexError: list index out of range
The parent process of non-autossh tunnels is "init" or possibly a shell. Which don't't have a ":" in the command line.
248a249,253
> parent_command = f.readlines()[0]
>
> if "autossh" not in parent_command:
> continue
>
250c255
< autohost = f.readlines()[0].split(':')[1]
---
> autohost = parent_command.split(':')[1]