Open
Description
Expected Behavior
User will be kicked when the moderator types
/kick user
Actual Behavior
When using a certain client and exiting, the user lingers and cannot be kicked or banned until restarting the server.
Steps to reproduce behavior
- Get an android phone.
- Download the app termius from the Google Play Store.
- Open the app and click on continue without account.
- Go to hosts, click on new host, and enter the details such as your username. Make sure to enter ssh.chat as the IP address.
- Once you've successfully ssh into the ssh.chat, completely close the app but leave it running in the background. (This can be done by just swiping the app away). Now let your phone idle on battery saving mode for a long time (I'd say around 45 minutes).
- Go back to the app, and swipe right to reveal a menu. Go to terminal, which will show you a list of active terminals.
- Finally, close the terminal by pressing the close button. The user should linger and is unable to be kicked or banned.
Additional Comments
This bug is extremely hard to reproduce intentionally and requires some patience.
I noticed that the client for the un-kickable users was SSH-2.0-libssh2_1.9.0_DEV (maybe this can be produced with other apps that support this type of client?).
Android version: 7
Battery Saving: On
SSH Client: Termius