meta-wolfssl/recipes-wolfssl/wolfssh
msi-debian 9bc3bc344a Updating Recipes to latest 2025-03-27 17:59:18 -06:00
..
commercial Adding in FIPS Ready, and commerical recipes 2024-03-29 10:53:10 -06:00
README.md add readme for wolfssh recipe 2023-10-09 16:28:27 -06:00
wolfssh_1.4.20.bb Updating Recipes to latest 2025-03-27 17:59:18 -06:00
wolfssl_%.bbappend Adding ability to use 2.x, 3.x, and newer versions of Yocto with 1 set of recipes 2024-03-18 13:54:33 -06:00

README.md

To add wolfssh (and /usr/bin/wolfsshd installed) add the following to the conf/local.cnf file in the build directory.

IMAGE_INSTALL_append = " wolfssh "

If wanting to increase SFTP throughput the folloing could be added to a wolfssh_%.bbappend file created in the directory meta-wolfssl/recipes-wolfssl/wolfssh/

CPPFLAGS_append = "-DWOLFSSH_MAX_SFTP_RW=64000"

Instaling the example applications (more robust client applications are in the works, these are examples) could be done by adding the following in the bbappend file.

do_install_append() {
    cp ${WORKDIR}/build/examples/client/.libs/client ${D}/usr/bin/wolfssh
    cp ${WORKDIR}/build/examples/sftpclient/.libs/wolfsftp ${D}/usr/bin/
    cp ${WORKDIR}/build/examples/scpclient/.libs/wolfscp ${D}/usr/bin/
}