Unable to establish SSH connection - "Disconnect [preauth]" error
@bummoblizard arbeitet bereits daran.
Seit 29.10.2025.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Description
I just purchased this app specifically for its SSH functionality, but I cannot establish an SSH connection. The connection is immediately dropped during the pre-authentication phase.
Environment
- Client: iOS (latest App Version, just downloaded)
- Authentication method: OpenSSH private key pasted directly into the app with passphrase
- Other SSH clients on my Mac: Working fine with the same credentials
- SFTP enabled, root login access allowed with pubkey/no-password
Error Log
Connection from 10.90.90.41 port 54447 on 10.90.90.40 port 22 rdomain ""
Received disconnect from 10.90.90.41 port 54447:11: NMSSH: Disconnect [preauth]
Disconnected from authenticating user root 10.90.90.41 port 54447 [preauth]
srclimit_penalise: ipv4: new 10.90.90.41/32 deferred penalty of 1 seconds for penalty: connections without attempting authentication
What I've tried
- ✅ SSH config checked – all settings allow the connection
- ✅ Same private key + passphrase works with other SSH clients (Terminal, etc.)
- ✅ Server is reachable and accepting connections from my IP
Problem
The server log shows "connections without attempting authentication", meaning the app disconnects before even trying to authenticate. The error message references "NMSSH: Disconnect [preauth]", suggesting the NMSSH library is terminating the connection prematurely.
Question
What could cause the app to disconnect before attempting authentication? Is there a known issue with the NMSSH library or how private keys with passphrases are handled?
- Vorherrschende Sprache
- Swift
- Sterne
- 4k
- Forks
- 376
- Ø Merge
- 1 Min.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus thebaselab/codeapp
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
thebaselab/codeapp#1356 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 52/100
thebaselab/codeapp#1355 · 1 Reaktion ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
thebaselab/codeapp#1353 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
thebaselab/codeapp#1350 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
thebaselab/codeapp#1349 ·
Alle Issues in thebaselab/codeapp
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
openwatersio/slackwater-ios#976 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
difficulty: beginner documentation help wanted networking
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
openwatersio/slackwater#591 ·
Maintainer antworten meist innerhalb von 1 Tag