Hi, I am running busybox in imx6 using ssh and scp in shell scripts, but I troubled to run the scripts to run ssh and scp, it did not have ssh options stopped at following:
scp .... -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o ServerAliveCountMax=3 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ... ECDSA key fingerprint is SHA256:rAS+4gVqPJj7yfVDHlhG1g5bQP+VgMczooGifv+H9vk. Are you sure you want to continue connecting (yes/no) cp: can't stat '-o': No such file or directory cp: can't stat 'ServerAliveInterval=60': No such file or directory cp: can't stat '-o': No such file or directory cp: can't stat 'ExitOnForwardFailure=yes': No such file or directory cp: can't stat '-o': No such file or directory cp: can't stat 'ServerAliveCountMax=3': No such file or directory cp: can't stat '-o': No such file or directory cp: can't stat 'StrictHostKeyChecking=no': No such file or directory cp: can't stat '-o': No such file or directory cp: can't stat 'UserKnownHostsFile=/dev/null': No such file or directory root@solar:/tmp# ssh-keyscan SaController >> /home/root/.ssh/known_hosts What will be effective and simple solution in Yocto? - Replace busybox by bash recipe. - Install openssh-client to run ssh-keyscan to write the target to .ssh/known_hosts Appreciate your advice for Yocto Linux embedded system. Thank you. Kind regards, - jupiter -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto