ASUS ac and ax WiFi Router - SFTP Setup, /opt/libexec/sftp-server: not found
Product: ASUS WiFi routers WiFi 6, 6E, 7
Overview
For some reason, ASUS' WiFi 6, 6E and 7 routers are failing SFTP (ftp extension on top of ssh) in their OOTB firmware.
I have their old WiFi 5 RT-AC66U and WiFi 6 TUF-AX4200. The SFTP works in older router, but in newer WiFi 6 router, it is constantly giving following error
Connected to 192.168.50.1
sh: /opt/libexec/sftp-server: not found
FATAL ERROR: Received unexpected end-of-file from server
sh: /opt/libexec/sftp-server: not found
FATAL ERROR: Received unexpected end-of-file from server
Even using WinSCP to copy file, it will return access denied (false alarm) message.
This blog post is to provides solution how to make this work
Procedure
Preparation
- Get a USB drive has usable space of larger than 1GB
- Format as NTFS, or FAT32 if it is exFAT, or Linux partition
- Install the USB drive into the router
- Login to ASUS WiFi router homepage
- You should land in "Network Map" screen showing Internet status, WiFi status, number of clients connected, and USB 3.0
- Clicks on icon USB 3.0 to show its status
- You must see Media Server, AiDisk Wizard, or you need to format the drive as NTFS (recommended)
Configuration
- On left panel, clicks on 'USB Application"
- On right panel, look for "Download Master"
- Under it, you will see "Install" hyperlink
- Clicks on "Install" hyperlink
- If the free space is less than 1GB, it will not allow you to continue
- Select the USB drive to install this "Download Master" to
- The homepage will automatically run ipkg to download and install additional software
- It will download SFTP utility
- Then it will auto install into /opt/libexec/sftp-server
- If you get a installation failure message, please format the USB drive as NTFS and try again
Verification
- Run your favorite SFTP utility, such as WinSCP
- You will be able to copy file
Comments
Post a Comment