Install Dropbear SSH server on Bionic64

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:

Install Dropbear SSH server on Bionic64

#1 Post 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 !
Attachments
Screenshot(52).png
(35.4 KiB) Downloaded 138 times
Screenshot(51).png
(39.39 KiB) Downloaded 140 times
Last edited by rockedge on Wed 03 Jun 2020, 20:53, edited 3 times in total.

enrique
Posts: 595
Joined: Sun 10 Nov 2019, 00:10
Location: Planet Earth

#2 Post 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.

Post Reply