Closed m-iwanicki closed 15 hours ago
-O
flag for scp is needed when copying to dts for some reason.
It might be because there is no sftp-server installed, there is no file at /usr/libexec/sftp-server
.
So we can either add sftp-server or change sshd_config to use internal-sftp
Component
Dasharo Tools Suite
Device
QEMU Q35 Emulator
Dasharo version
No response
Dasharo Tools Suite version
1.2.21
Brief summary
SCP doesn't work, returns
scp: Connection closed
How reproducible
Every time
How to reproduce
run this image on QEMU from osfv uefi-sb-release branch:
Try to send any file from host to DTS via SCP:
Expected behavior
Actual behavior
Screenshots
No response
Additional context
SCP also didn't work on NovaCustom laptop.
Solutions you've tried
Change
Subsystem sftp /usr/libexec/sftp-server
toSubsystem sftp internal-sftp
in/etc/ssh/sshd_config
. After that scp works.