Setup a Dropbear SSH Server on Bionic64-v8 and Bionic64-CE

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

Setup a Dropbear SSH Server on Bionic64-v8 and Bionic64-CE

#1 Post by rockedge »

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:

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
set the permissions to execute and run the script and the keys should appear in /etc/dropbear
open a terminal and use

Code: Select all

dropbear
Remember to set the root password with

Code: Select all

passwd
Test by connecting from another machine using a SSH client or from the command line in a terminal.

Post Reply