编译:
./configure --prefix=/home/lxin/workdir/install-dropbear --with-zlib=/home/lxin/workdir/zlib/install-zlib-1.2.11/ CC=x86_64-linux-gnu-gcc make clean
make
make install
生产秘钥
in bin dir:
./dropbearkey -t rsa -f ../sbin/dropbear_rsa_host_key -s 2048
运行程序:
in sbin dir:
sudo ./dropbear -p 2222 -F -E -r ./dropbear_rsa_host_key
crt连接
连接成功: