# Ash: /usr/libexec/sftp-server: not found when using scp

**URL:** <https://forum.openwrt.org/t/ash-usr-libexec-sftp-server-not-found-when-using-scp/125772>\
**Category:** Installing and Using OpenWrt\
**Created:** [April 21, 2022, 9:51am UTC](https://forum.openwrt.org/t/ash-usr-libexec-sftp-server-not-found-when-using-scp/125772 "2022-04-21T09:51:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![colo](https://forum.openwrt.org/letter_avatar/colo/32/5_5575768a8748004e209b776fc1b2916d.png) [@colo](https://forum.openwrt.org/u/colo)\
**Post date:** [April 21, 2022, 5:46pm UTC](https://forum.openwrt.org/t/ash-usr-libexec-sftp-server-not-found-when-using-scp/125772/3 "2022-04-21T17:46:14Z")

</div>

This is a consequence of your client machine using a very recent OpenSSH release (9.0 - check [https://www.openssh.com/txt/release-9.0](https://www.openssh.com/txt/release-9.0) for more info), which changes the `scp` program to use the SFTP protocol under the hood, which vanilla OpenWrt/dropbear installations do not support. To work around the problem on the client side, use the new `-O` (that is an uppercase letter "o") switch when invoking `scp`, which will cause it to fall back to the legacy behavior.

---

_[View the full topic](https://forum.openwrt.org/t/ash-usr-libexec-sftp-server-not-found-when-using-scp/125772)._
