Page 1 of 1

Install Dropbear SSH server on Bionic64

Posted: Sun 31 May 2020, 01:15
by rockedge
To connect two Puppy Linux Bionic64's using a SSH remote session. Two packages will be used, the pUTTY-.0.73 client and a Dropbear SSH server. Also a small shell script that will create the keys.

For #1 Bionic64 the PET file for the Server component is here ->
https://rockedge.org/kernels/data/PET/B ... x86_64.pet

Download and install the PET file.
Create a shell script :
make_dropbear_keys.sh

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 $RSA_KEYFILE
run the script and in a terminal start dropbear

Code: Select all

dropbear
Now set up the client computer running the #2 Bionic64
Download and install ->
https://rockedge.org/kernels/data/PET/B ... _amd64.pet

The menu entry for pUTTY is under Menu->Network

Start putty from the menu or command line.
The following screenshots demonstrate a very simple configuration that will forward X11. Of course one could use Puppy Linux's built in SSH client just as well as pUTTY. Using Windows 10 (any Windows will work) pUTTY can be installed (putty is native to Windows and I compiled it for Linux)

Do not forget to set the root password on Bionic64 #1 (Dropbear server) or default is 'woofwoof'

Code: Select all

passwd
This all a very basic set up and all the parameters can be adjusted as needed.

Wish you good bandwith !

Posted: Tue 02 Jun 2020, 10:38
by enrique
I had not test it. I will. But I want to thank you as I have ask for this several times. Many post has ask how to do it and we did not have a pet to do it. Thanks.

And I want to have the opportunity to say publicly that I had learn to understand you and I regret that in the past I raise my voice on you. Y have learn that you are one of the good one. I guess I did lost a few post unexplained and I was badly influence by the crew of conspiracy finders I had for friends. Keep the good work.