revenz / Fenrus

A personal home page for quick access to all your personal apps/sites.
MIT License
518 stars 31 forks source link

Ssh terminal instant disconnects #121

Closed Frooodle closed 1 year ago

Frooodle commented 2 years ago

When setting a terminal to bin/bash when it doesn't support it terminal will isntantly close without any logs. In this example it is near impossible to debug without catching the instant the terminal opens before disappearing again

repoduce: Run ssh on application that doesnt have bin/bash such as the overseerr container

Expected solution: Either terminal display doesnt instant close if its been open for less than 2 seconds to avoid this exact usecase? Or perhaps log disconnects and their cause to fenrus logger? Some other fix?

https://media.discordapp.net/attachments/944864944090931260/1013081652425146398/Animation.gif?width=950&height=468 Gif of what happens https://media.discordapp.net/attachments/944864944090931260/1013081652425146398/Animation.gif?width=950&height=468

revenz commented 2 years ago

leaving open, but i cannot reproduce this on overseer (my image has bash (lscr.io/linuxserver/overseerr:latest)).

and to confirm, you mean open a docker terminal not a ssh terminal correct? docker and ssh have two different execution paths, one does a ssh into a server the other executes bin/bash (ash|sh) against a docker container.

Frooodle commented 1 year ago

Oh interesting, seems i am using sctx/overseerr

Looking at the error i get though i would expect it to be reproduced with any docker that doesnt have bin/bash etc

revenz commented 1 year ago

closing, as nothing to do