On Wed, Jul 29, 2026 at 02:35:15PM +0200, Sylvain Saboua wrote:
> I'm trying to log in my SSH administration console on my
> laptop-turned-server.
> I can connect fine from other devices, whether locally or from remote.
> Here on iPhone with iSH, an Alpine Linux emulator, I get this strange
> behavior
> where it will display the log in prompt (see below) as if the logging in
> were
> successful but immediately disconnect.

I can reproduce this using iSH to connecting to a 7.9 machine:
ssh -t user@host /bin/sh
(press enter, instant disconnect)

However: ssh -t user@host /bin/cat
works (i.e. it echos back my input a line at a time).

It feels like iSH isn't correctly handling terminal state. I suspect
their "emulation" of Linux and in particular tty line disciplines isn't
quite correct, there's a few issues about related areas in their tracker
(e.g. https://github.com/ish-app/ish/pull/2449 -- although I don't think
that exactly is the issue here). The https://github.com/emkey1/ish-AOK
fork supports strace, maybe that would be possible to debug with, else
this feels like a bug report to iSH.

Reply via email to