The time now is Tue 21 May 2013, 18:53
All times are UTC - 4 |
| Author |
Message |
clarf

Joined: 13 Jun 2007 Posts: 606 Location: The old Lone Wolf
|
Posted: 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
| Description |
Dropbear Launcher - Client/Server GUI
|

Download |
| Filename |
clarf_dropbear_launcher.pet |
| Filesize |
31.3 KB |
| Downloaded |
624 Time(s) |
| Description |
Dropbear 0.52
|

Download |
| Filename |
clarf_dropbear-0.52-i386.pet |
| Filesize |
82.6 KB |
| Downloaded |
592 Time(s) |
| Description |
Dropbear Client GUI - General Tab |
| Filesize |
63.18 KB |
| Viewed |
2030 Time(s) |

|
| Description |
Dropbear Client GUI - Options Tab |
| Filesize |
25.62 KB |
| Viewed |
2018 Time(s) |

|
| Description |
Dropbear Server GUI 1 |
| Filesize |
18.5 KB |
| Viewed |
2019 Time(s) |

|
| Description |
Dropbear Server GUI 2 |
| Filesize |
15.15 KB |
| Viewed |
2018 Time(s) |

|
| Description |
Dropbear Server GUI 3 |
| Filesize |
7.23 KB |
| Viewed |
1997 Time(s) |

|
|
|
Back to top
|
|
 |
SirDuncan

Joined: 09 Dec 2006 Posts: 836 Location: Ohio, USA
|
Posted: 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
|
|
 |
clarf

Joined: 13 Jun 2007 Posts: 606 Location: The old Lone Wolf
|
Posted: 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
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6856 Location: Perth, Western Australia
|
Posted: 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/blog2/
|
|
Back to top
|
|
 |
clarf

Joined: 13 Jun 2007 Posts: 606 Location: The old Lone Wolf
|
Posted: 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
|
|
 |
|
|
|
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
|