I've been noticing this for some weeks to months now.
msf5 auxiliary(scanner/ssh/libssh_auth_bypass) > sessions
sessions
msf5 auxiliary(scanner/ssh/libssh_auth_bypass) > sessions
This feels like a regression. It's incorrect behavior as far as most shells go.
Do you know anything about this, @Green-m?

Seems good on my machine, or did I misunderstand?
If it helps I can't reproduce this either.
It is working now. Seems like some sort of Heisenbug. I'll reopen if I can produce repro for it. Thanks!
For the record, it's this code that should do the right thing:
I still have this problem today. It's sporadic, and I can't figure it out, so I'm reopening this so we can track it in the future.
This is still an issue, and it is annoying the everliving shit out of me.
Hi!
This issue has been left open with no activity for a while now.
We get a lot of issues, so we currently close issues after 60 days of inactivity. It鈥檚 been at least 30 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
Removing the stale label. I'm not sure if this is still an issue. Someone who isn't me should probably take a look at this. I nominate @wvu-r7