WRX36 ash: /usr/libexec/sftp-server: not found

Hey guys, so, I've started down the rabbit hole of 1st time flashing, I get "ash: /usr/libexec/sftp-server: not found" Sure enough, there doesn't appear to be an ssh server available in the penwrt-qualcommax-ipq807x-dynalink_dl-wrx36-initramfs-uImage.itb?

What to do, lol

RTFW :wink:


I'm confused, I am using Arch, the cmd I am attempting to use is

scp openwrt-qualcommax-ipq807x-dynalink_dl-wrx36-squashfs-factory.ubi root@

which retruns

ash: /usr/libexec/sftp-server: not found
scp: Connection closed

Use scp -O (letter o).


and that's exactly the issue described in the wiki....

@dave14305 was kind enough to provide you with the solution, I would have had you work for it :wink:

writing "force use scp not sftp linux" at google, wouldn't have been very hard.

1 Like

You could also opkg install the openssh-sftp-server package to the router, so that you have also the SFTP support there.

Alternatively, use scp -O ( = legacy transport protocol) in your Linux host.


Welp, aside from being totally unaware of the -O option, I've successfully just flashed 3 of these puppies with the latest snapshot


Thx m8!

That surprisingly did not yield an answer for me. Chatbotgpt was clueless as well.

https://wiki.archlinux.org/title/SCP_and_SFTP was the 1st hit for me, where ...

1 Like


Well, ...lets celebrate the fact I haven't posted "Help! I think I bricked it!!" :wink:


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.