Connection drops after a successful authentication

In some cases, the session may disconnect immediately after authentication or a few seconds later.

One possible cause is how the SSH server handles OS detection or shell history fetching for terminal autocomplete.

Some Termius features use SSH exec channels by running commands right after the connection is established. You can confirm this in the connection log by looking for the ⚙️ Executing command entry near the end.

If that is the cause, disable the features that rely on SSH exec channels.

Open TermiusSettingsTerminal and disable:

  • Autocomplete

  • Import shell history

  • Detect OS

Last updated

Was this helpful?