Fenrus icon indicating copy to clipboard operation
Fenrus copied to clipboard

Ssh terminal instant disconnects

Open Frooodle opened this issue 2 years ago • 1 comments

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

Frooodle avatar Aug 28 '22 00:08 Frooodle

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.

revenz avatar Sep 02 '22 23:09 revenz

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

Frooodle avatar Oct 02 '22 20:10 Frooodle

closing, as nothing to do

revenz avatar Dec 02 '22 21:12 revenz