Setup a Dropbear SSH Server on Bionic64-v8 and Bionic64-CE
Posted: Thu 30 Apr 2020, 16:38
To set up a Dropbear SSH server in Bionic64-8.0 and Bionic64-CE
The Bionic64 must have the Devx.sfs installed and recommend the 32 bit compatibility libraries as well but that can be optional.
Download Dropbear
create a directory /root/Build
extract the the downloaded .tar.bz2 file in /root/Build and cd into it
open a terminal and use:
Dropbear requires encryption keys so create them so create a script to make them:
set the permissions to execute and run the script and the keys should appear in /etc/dropbear
open a terminal and use
Remember to set the root password with
Test by connecting from another machine using a SSH client or from the command line in a terminal.
The Bionic64 must have the Devx.sfs installed and recommend the 32 bit compatibility libraries as well but that can be optional.
Download Dropbear
create a directory /root/Build
extract the the downloaded .tar.bz2 file in /root/Build and cd into it
open a terminal and use:
Code: Select all
./configure --bindir=/usr/local/bin
make
make install
Dropbear requires encryption keys so create them so create a script to make them:
Code: Select all
#!/bin/sh
mkdir /etc/dropbear
cd /etc/dropbear
RSA_KEYFILE=/etc/dropbear/dropbear_rsa_host_key
DSS_KEYFILE=/etc/dropbear/dropbear_dss_host_key
dropbearkey -t dss -f $DSS_KEYFILE
dropbearkey -t rsa -f $DSS_KEYFILE
open a terminal and use
Code: Select all
dropbear
Code: Select all
passwd