Skip to content

Commit

Permalink
Merge pull request #124 from Dasharo/fix-scp-sftp
Browse files Browse the repository at this point in the history
Fix scp from host to DTS not working without -O flag
  • Loading branch information
macpijan authored May 24, 2024
2 parents 4c8c726 + a5a7205 commit 7ed2828
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
SYSTEMD_AUTO_ENABLE:${PN}-sshd = "disable"

do_install:append() {
# replace /usr/libexec/sftp-server with internal-sftp.
sed -i -r -e "s|^(Subsystem[[:space:]]*sftp[[:space:]]*)/usr/libexec/sftp-server|\1internal-sftp|" ${D}${sysconfdir}/ssh/sshd_config
}

0 comments on commit 7ed2828

Please sign in to comment.