Repository navigation
|
I tried using AeroFTP to connect to my OpenWrt device on the local network so I could debug LuCI and my own programs locally. I haven't set a password on the target device because logging in to the LuCI web interface and connecting via WinSCP are more convenient this way. However, whenever I try to connect using AeroFTP, it keeps reporting that the connection cannot be established. I have entered the correct IP address and username, and I'm certain that no password has been set on the target device. Is there any way to resolve this issue? |
Replies: 2 comments 1 reply
Thank you for this report, it is a valuable one: it found a real gap in AeroFTP. OpenWrt's SSH server (Dropbear) lets
The router needs one more thing for AeroFTP: a stock OpenWrt image ships no SFTP server (WinSCP quietly falls back to SCP there), and AeroFTP talks SFTP. Install it once with
Until that release is out, an SSH key works today, without setting a password and without changing how LuCI behaves: paste your public key in LuCI under System > Administration > SSH-Keys, then in the AeroFTP SFTP connection open SSH Authentication (Optional) and set Private Key Path to the matching private key. If anything still fails, tell us your AeroFTP version and paste the exact error message. |
|
A follow-up on my earlier reply: you should not have to change anything on the router to use AeroFTP. WinSCP connects to a stock OpenWrt image because it falls back to SCP when there is no SFTP server, and AeroFTP will do the same. We are adding SCP support, with the same automatic fallback from SFTP, tracked in #1454. Once it ships, AeroFTP will connect to your router exactly as it is today. Installing |
A follow-up on my earlier reply: you should not have to change anything on the router to use AeroFTP. WinSCP connects to a stock OpenWrt image because it falls back to SCP when there is no SFTP server, and AeroFTP will do the same. We are adding SCP support, with the same automatic fallback from SFTP, tracked in #1454. Once it ships, AeroFTP will connect to your router exactly as it is today.
Installing
openssh-sftp-serverstays an option, never a requirement: SFTP is the faster path, with resumable and parallel transfers.