-
Notifications
You must be signed in to change notification settings - Fork 722
Description
Check for existing issues
- Completed
Describe the bug / provide steps to reproduce it
I have been trying for days to get the official Acode SSH Client plugin to connect to a remote server via SFTP using a key. Everything works perfectly in Termux, but the plugin consistently fails with “I/O error: Authentication failed” even when the exact same key and settings succeed in Termux.
Environment
Acode version: 1.11.1 (paid / ad-free)
Android version: 14 (stock Samsung One UI 6.1)
Device: Galaxy S23 series
SSH Client plugin version: latest from the in-app store (installed via https://acode.app/plugin/acode.ssh.client)
Key details
Key type: RSA 2048-bit and 4096-bit (both tested)
Passphrase: tried with and without
Key location: /storage/emulated/0/the.key (passphrase-free) and /storage/emulated/0/the2nd.key (with passphrase)
Storage permission: “Allow access to all files” granted
Same private key + public key on server works instantly with ssh -i ~/.ssh/the.key opc@... in Termux (no errors, instant login)
Steps to reproduce
Add new SFTP connection
Host: any reachable SSH server (tested on Oracle Cloud Linux, Ubuntu, etc.)
Port: 22
Username: valid user
Private key: select any RSA key from /storage/emulated/0/
Passphrase: blank or correct passphrase
Mode: SFTP
Save → tap the connection → “I/O error: Authentication failed”
Expected behavior
Connection succeeds and remote filesystem mounts (like it does in Termux, JuiceSSH, ConnectBot, etc.).
Actual behavior
Immediate “I/O error: Authentication failed” even though the key is proven valid.
This bug has been reported by multiple users for over a year (I/O errors with no-passphrase keys, passphrase-protected keys, ED25519, etc.). The underlying JSch library seems to be mishandling key decryption or Android’s scoped-storage paths. The workaround most people end up using is AcodeX/Termux, but the official SSH Client plugin is still seemingly broken on modern Android.
Thank you.
Environment
App version: 1.11.7 (paid)
Android version: 14
Android SDK: 34
Device: Galaxy S23 / SM-S918B
Brand: samsung
Manufacturer: samsung
WebView version: 129.0.6668.99 (Android System WebView)
WebView package: com.google.android.webview
Architecture: arm64-v8a
Rooted: false
Termux installed: true
If applicable, add mockups / screenshots regarding your vision
No response