CC=/usr/local/linaro-aarch64-2020.09-gcc10.2-linux5.4/bin/aarch64-linux-gnu-gcc ./configure --build=i686-pc-linux --host=arm-linux --target=arm-linux --prefix=/home/user/temp/dropbear --disable-zlib
make
make install
复制文件到开发板的bin和sbin目录
ln -s /bin/dbclient /bin/ssh
创建配置
mkdir /etc/dropbear
cd /etc/dropbear
dropbearkey -t rsa -f dropbear_rsa_host_key
dropbearkey -t dss -f dropbear_dss_host_key
dropbearkey -t ecdsa -f dropbear_ecdsa_host_key
dropbearkey -t ed25519 -f dropbear_ed25519_host_key
启动
/sbin/dropbear