#!/bin/bash
export CC=/opt/sdk/arm/arm-xilinx/lin/bin/arm-xilinx-linux-gnueabi-gcc
export STRIP=/opt/sdk/arm/arm-xilinx/lin/bin/arm-xilinx-linux-gnueabi-strip
export AR=/opt/sdk/arm/arm-xilinx/lin/bin/arm-xilinx-linux-gnueabi-ar
./configure --host=arm --build=x86 --with-zlib=/home/code/dropbear/zlib-1.3 --prefix=$(pwd)/ssh
make install
setup
#!/bin/sh
mkdir -p /etc/dropbear
cp /mnt/flash/*host_key /etc/dropbear
/mnt/flash/dropbear -p 22