You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I've seen a problem with megassh in the past and tried to fix it but it's still a problem. Sometimes, output from a host is overlooked somehow:
I basically did a complete fresh rewrite of the command in babd476 and it seems to be working great.
For each host:
A thread is created that creates the new process
A second thread is created to read stdout in a non-blocking manner
A third thread is created to read stderr in a non-blocking manner
The second and third threads end when they exhaust their respective stream, regardless of if the process finished
The first thread ends when the second and third threads end and the process has an exit status
I reused the idea of using base64 encoding to protect arbitrary commands but I think it's really only needed when you escalate to root so I had it automatically encode when you escalate. There's no longer an independent encoding option.
I think I've seen a problem with
megassh
in the past and tried to fix it but it's still a problem. Sometimes, output from a host is overlooked somehow:The text was updated successfully, but these errors were encountered: