Hi, I´m working on a Dunfell BSP (Toradex BSP5) and want to add and modify the OpenSSH configuration. So I´ve added "recipes-connectivity/openssh/openssh_%.bbappend" with this content FILESEXTRAPATHS_prepend := "${THISDIR}/files:" # Apply the SSH configuration # - Disable password authentication # - Disable X11 forwarding # - Enable public key authentication do_install_append () { sed -i -e 's:^#PubkeyAuthentication.*$:PubkeyAuthentication yes:g' ${D}${sysconfdir}/ssh/sshd_config sed -i -e 's:^#PasswordAuthentication.*$:PasswordAuthentication no:g' ${D}${sysconfdir}/ssh/sshd_config sed -i -e 's:^#ChallengeResponseAuthentication.*$:ChallengeResponseAuthentication no:g' ${D}${sysconfdir}/ssh/sshd_config sed -i -e 's:^#UsePAM.*$:UsePAM no:g' ${D}${sysconfdir}/ssh/sshd_config sed -i -e 's:^#X11Forwarding.*$:X11Forwarding no:g' ${D}${sysconfdir}/ssh/sshd_config install -d 0700 ${D}${ROOT_HOME}/.ssh install -m 0600 "${TOPDIR}/keys/ssh/${DEPLOY_ENV}/id_ed25519.pub" ${D}${ROOT_HOME}/.ssh/authorized_keys } FILES_${PN} += "${ROOT_HOME}/.ssh/*" And I added TASK_BASIC_SSHDAEMON = "openssh-sshd openssh-sftp openssh-sftp-server" to my OS configuration. The generated image contains OpenSSH (I´ve checked the version) but no authorized_keys or modified configuration. What is wrong here? Mit freundlichen Grüßen / With kind regards Ing. Daniel Kampert, M. Sc. Embedded Systems Solutions Address: Hauptstr. 36 | 91469 Hagenbüchach | Deutschland Phone: +49 (0)174 6932561 E-Mail: kont...@daniel-kampert.de mailto:kont...@daniel-kampert.de Web: www.daniel-kampert.de https://www.daniel-kampert.de
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64865): https://lists.yoctoproject.org/g/yocto/message/64865 Mute This Topic: https://lists.yoctoproject.org/mt/111378266/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-