revenz / Fenrus

A personal home page for quick access to all your personal apps/sites.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ssh terminal instant disconnects

Frooodle opened this issue · 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

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.

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

closing, as nothing to do