[Buildroot] Dropbear/SFTP
Peter Korsgaard
jacmet at uclibc.org
Thu Apr 25 20:54:50 UTC 2013
>>>>> "thomas" == thomas <thomas.spitz at gmail.com> writes:
thomas> Hello Peter,
thomas> As I wrote, I'm not using dropbear anymore but openssh alone.
thomas> Here below my simple test:
thomas> thomas at thomas-laptop:~/Armadeus/armadeus-5.2$ sftp root at 192.168.1.5
thomas> root at 192.168.1.5's password:
thomas> sh: /usr/libexec/sftp-server: not found
thomas> Connection closed
thomas> Effectively, I have no /usr/libexec/sftp-server folder on my
thomas> target. Openssh didn't create it... Is there something manual
thomas> to do in order to activate sftp?
Hmm, indeed. A quick test shows:
make openssh
..
/usr/bin/install -c -m 0755 sftp-server /home/peko/source/buildroot/output/target/usr/lib/sftp-server
..
I guess it's because we're explicitly passing
--with-libexecdir=/usr/lib. With that removed I see:
/usr/bin/install -c -m 0755 sftp-server /home/peko/source/buildroot/output/target/usr/libexec/sftp-server
Fixed in git, thanks for the report.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list