Page 1 of 1

SFTP Plugin: "Connect OK" but nothing shown

Posted: 2025-06-18, 22:20 UTC
by stari
Android 15, TC Android 3.50
Accessing to NGROK tcp(sftp) server, but opening it to port 8022. (ngrok tcp 8022)
I've created connection config and pressed it to try connection.
It said "Connect OK", but then nothing is shown. In SFTP or home, nothing is created, but remaining the same state.
Tried with/without SCP option, but result was same.

Code: Select all

2025-06-19 06:55:10.712 HOST:SFTP:get dir: /
2025-06-19 06:55:15.504 HOST:SFTP:Service disconnected!
2025-06-19 06:55:55.725 HOST:SFTP:initiate connection to plugin
2025-06-19 06:55:55.735 HOST:SFTP:bindService succeeded
2025-06-19 06:55:55.743 HOST:SFTP:WaitUntilConnected:Background
2025-06-19 06:55:55.750 HOST:SFTP:Service connected!
2025-06-19 06:55:55.757 HOST:SFTP:get dir: /
2025-06-19 06:55:56.650 HOST:SFTP:checkConnectionAlive: 1
2025-06-19 06:55:56.764 HOST:SFTP:get dir: /NGROK/
2025-06-19 06:55:56.831 SFTP:=====================
2025-06-19 06:55:56.946 SFTP:Connecting...: <IPV4 ADDR>
2025-06-19 06:55:57.398 SFTP:Algorithm: EdDSA, Fingerprint: <FINGERPRINT>
2025-06-19 06:55:59.917 SFTP:Negotiated algorithms: [ kex=curve25519-sha256; sig=ssh-ed25519; c2sCipher=chacha20-poly1305@openssh.com; s2cCipher=chacha20-poly1305@openssh.com; c2sMAC=hmac-sha1; s2cMAC=hmac-sha1; c2sComp=none; s2cComp=none;  ]
2025-06-19 06:55:59.923 SFTP:Logging in...
2025-06-19 06:56:00.402 SFTP:Password: ********
2025-06-19 06:56:00.408 SFTP:Codepage...
2025-06-19 06:56:00.808 SFTP:SFTP start...
2025-06-19 06:56:01.236 SFTP:Connect OK!
2025-06-19 06:56:01.243 SFTP:SFTP LIST /
2025-06-19 06:56:01.335 SFTP:LIST error: net.schmizz.sshj.sftp.SFTPException: Permission denied
2025-06-19 06:56:01.341 SFTP:OFFLINE! 0.tcp.jp.ngrok.io:<PORT>
2025-06-19 06:56:01.375 SFTP:=====================
2025-06-19 06:56:01.378 SFTP:Connecting...: <IPV4>
2025-06-19 06:56:01.839 SFTP:Algorithm: EdDSA, Fingerprint: <FINGERPRINT>
2025-06-19 06:56:01.847 SFTP:Negotiated algorithms: [ kex=curve25519-sha256; sig=ssh-ed25519; c2sCipher=chacha20-poly1305@openssh.com; s2cCipher=chacha20-poly1305@openssh.com; c2sMAC=hmac-sha1; s2cMAC=hmac-sha1; c2sComp=none; s2cComp=none;  ]
2025-06-19 06:56:01.852 SFTP:Logging in...
2025-06-19 06:56:02.200 SFTP:Password: ********
2025-06-19 06:56:02.210 SFTP:SFTP start...
2025-06-19 06:56:02.594 SFTP:Connect OK!

Re: SFTP Plugin: "Connect OK" but nothing shown

Posted: 2025-06-19, 15:06 UTC
by ghisler(Author)
Here is the relevant line:
SFTP:LIST error: net.schmizz.sshj.sftp.SFTPException: Permission denied
You are not allowed to list the root directory. Try adding your home directory behind the server name/ip address, e.g.
myserver.com/home/stari

Re: SFTP Plugin: "Connect OK" but nothing shown

Posted: 2025-06-19, 17:09 UTC
by stari
Adding my home directory magically solved the issue. Thanks! <3