Re: SSH immediately disconnects after logging in
Darren Tucker <[email protected]> Thu, 30 Jul 2026 11:13:57 +1000
| Newsgroups | gmane.os.openbsd.misc |
|---|---|
| Message-ID | <CALDDTe3sGwsot9JgR+7f=Hc=4xYNQYZN5NDmCbMmgd4nAOryjw@mail.gmail.com> |
On Wed, 29 Jul 2026 at 22:38, Sylvain Saboua <[email protected]> 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. Some VM systems have problems with IP type-of-service, especially if it changes during a single TCP connection: > debug2: fd 3 setting TCP_NODELAY > debug3: set_sock_tos: set socket 3 IP_TOS 0x48 Try adding "IPQoS none none" to the config or command line. -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.