Applies to · OpenSSH 9.x · scp · openssh-sftp-server
What to check
Run a small file transfer from the computer with detailed logs to check whether the client requests the SFTP subsystem or the traditional SCP.
Connect over Ethernet and run the following commands in an SSH session on the router.
command -v scp
ls -l /usr/libexec/sftp-server
df -h
How to interpret the result
If the client logs show failure when requesting the SFTP subsystem, verify the server program and configuration. If transmission has already begun, check the target directory permissions and available space. Compare hash values using a plain test file on both ends without expanding SSH access scope.
Verify and recover
Transfer a harmless file and compare its checksum at both ends. Enable SFTP only as allowed by the management policy and keep compatibility tests on a trusted connection.
Related guide · Move from opkg to apk on OpenWrt 25.12
Comments