Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 23 Aug 2014, 09:27
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Dropbear Small SSH2 Server/Client + GUI Frontend
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Wed 27 Jan 2010, 17:56    Post subject:  Dropbear Small SSH2 Server/Client + GUI Frontend
Subject description: Dropbear 0.52 compilled as multi-binary
 

Dropbear is a relatively small SSH 2 server and client.

It runs on a variety of POSIX-based platforms. Dropbear is open source software, distributed under a MIT-style license. Dropbear is particularly useful for "embedded"-type Linux (or other Unix) systems, such as wireless routers.

In this thread I post two essentials pet files.


1. dropbear launcher:

This is my dropbear GUI frontend "dropbear Launcher", includes Server and Client GUI.

The Drobpear Server GUI includes:

- Connection settings
- Security Options
- Current Server State in tray (and stop - restart functions)
- I also added the Server key generation code to my dropbear Server launcher, it will create host identification keys if needed.

The Dropbear Client GUI includes some features like:

- Profile Administration
- Connection settings
- Security Options


2. dropbear:

I attach the clarf_dropbear-0.52-i386.pet package, I originally made this package for Puppy 214X. It was compiled as multi-binary (one binary and some symlinks) and I got a small package, after many tests...

For this package I used (of course with a pair of tricks I learned from ttuuxxx):

Code:
./configure --build=i386-pc-linux-gnu --prefix=/usr --localstatedir=/var --sysconfdir=/etc CFLAGS="-march=i386 -Os -ffunction-sections -fdata-sections" LDFLAGS=-Wl,--gc-sections


Then,

Code:
make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" MULTI=1


It has a post-installation script "pinstall.sh" to create new Server keys (this is not needed if you install my GUI package, but I added it just for users commodity.)

These packages are already included in 214X base. Also tested in Dpup 482beta3.

Any comment is welcome,

Thanks to ttuuxxx for 214X support. Special Thanks to Igulender and memeyou for the dropbear package idea.

clarf
clarf_dropbear_launcher.pet
Description  Dropbear Launcher - Client/Server GUI
pet

 Download 
Filename  clarf_dropbear_launcher.pet 
Filesize  31.3 KB 
Downloaded  772 Time(s) 
clarf_dropbear-0.52-i386.pet
Description  Dropbear 0.52
pet

 Download 
Filename  clarf_dropbear-0.52-i386.pet 
Filesize  82.6 KB 
Downloaded  728 Time(s) 
dropbear_Server_client-server.gif
 Description   Dropbear Client GUI - General Tab
 Filesize   63.18 KB
 Viewed   2340 Time(s)

dropbear_Server_client-server.gif

dropbear_Client_frontend.gif
 Description   Dropbear Client GUI - Options Tab
 Filesize   25.62 KB
 Viewed   2315 Time(s)

dropbear_Client_frontend.gif

dropbear_Server_frontend.png
 Description   Dropbear Server GUI 1
 Filesize   18.5 KB
 Viewed   2317 Time(s)

dropbear_Server_frontend.png

dropbear_Server_frontend_2.png
 Description   Dropbear Server GUI 2
 Filesize   15.15 KB
 Viewed   2315 Time(s)

dropbear_Server_frontend_2.png

dropbear_Server_frontend_3.png
 Description   Dropbear Server GUI 3
 Filesize   7.23 KB
 Viewed   2633 Time(s)

dropbear_Server_frontend_3.png

Back to top
View user's profile Send private message 
SirDuncan


Joined: 09 Dec 2006
Posts: 836
Location: Ohio, USA

PostPosted: Wed 27 Jan 2010, 18:14    Post subject:  

I have a quick question for you. Is the SSH client GUI just a front-end for the SSH command already present in Puppy (and nearly every other *nix), or does it include its own implementation? In other words, if we don't need a server, is downloading the GUI package enough?
_________________
Be brave that God may help thee, speak the truth even if it leads to death, and safeguard the helpless. - A knight's oath
Back to top
View user's profile Send private message Visit poster's website 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Wed 27 Jan 2010, 19:40    Post subject:  

SirDuncan wrote:
I have a quick question for you. Is the SSH client GUI just a front-end for the SSH command already present in Puppy (and nearly every other *nix), or does it include its own implementation? In other words, if we don't need a server, is downloading the GUI package enough?


HI SirDuncan,

This is a front-end for dropbear Server/client, then it wrappers dropbear commands that are not compatible with SSH. Conclusion, GUI package is not enough you need additionally the dropbear package (that indeed is really small). But not additional library or dependencies are needed after dropbear package is installed.

Note: The GUI package "Dropbear Launcher" already includes the trayicon application and needed libraries that are used for Server GUI.

clarf
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sun 31 Jan 2010, 05:51    Post subject:  

I have just had a preliminary look at Dropbear, and some questions...

/usr/bin/ssh and /usr/bin/scp conflict with those on OpenSSH. Those in Dropbear are not compatible. There are some scripts that use ssh and maybe scp, so if Dropbear is installed, they will stop working.

OpenSSH is still going to be needed, so Dropbear cannot be considered as a replacement in Puppy, but as an alternative where a little matching server/client is needed.

However, the utilities will all have to have different names from those in OpenSSH so as not to conflict. Unlike Busybox, Dropbear cannot launch its applets by "dropbear ssh <options>", so that is out.

The only thing I can think of is that ssh and scp symlinks be placed somewhere not in the executable search path.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Sun 31 Jan 2010, 21:10    Post subject:  

Hi BarryK,

You are right OpenSSH full replacement is not really intended... You can just drop those simlynks (ssh and scp ) or move them to other locations from dropbear package in favor of OpenSSH tools, and still have full client/server functionality (with a nice GUI) in a small package.

The only really necessary symlinks for Server/Client functionality are dbclient and dropbear files, to use my GUI frontend you need trayicon (and one library) to launch, stop and monitor Server Status.

I compiled the full multibinary set because OpenSSH tools were damaged for 214X and can`t be used anymore, but the OpenSSH libraries were keeped for compatibility/dependency reasons, dropbear in fact is a good replacement for 214X or inclusive other thin pups that dont want to use (or cannot use) ssh, ssh-agent or ssh-keygen tools. Barry you can accommodate this packages for Puppy needs..

Thinking loud, I believe that giving the right order to the PATH environment variable could solve those problems too. i.e, put /usr/bin/ before /usr/local/bin path then OpenSSH tools will be found and used first.

Greetings,
clarf
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0637s ][ Queries: 13 (0.0089s) ][ GZIP on ]