Dropbear
From Groll Wiki
Contents |
Enabling SSH
Dropbear SSH server is a lightweight SSH2 server (and client) which is particularly usefull for little linux based device like the pch-a100. The following explain how to install and configure dropbear on the pch-a100 internal hard disk. Some modifications must me made to use it without a hard disk.
Installing dropbear
- Download current version (0.50) of dropbear binaries compiled for pch-a100 dropbear-0.50-nmt.tgz
- Login into pch-a100 using telnet (see Lundman Wiki for how to enable telnet)
- Install dropbear on the hard disk
cd /mnt/syb8634 tar xvfz dropbear-0.50-nmt.tgz
Configurate dropbear
For the configuration tasks, I will not publish the unix commands because I think that if you can't do it by yourself you should probably not use dropbear.
Things to do once
In order to log on the pch-a100 using ssh server you must define a password for root (or another user) as there is no default password set. We also create a persistant writable root home dir on the hard disk to keep configurations files
- Create a writable root home (optional)
- Generate server keys in a persistant dir
Things to do at each startup
Most of system file are reset at the pch-a100 boot. So we must modify some of these system files after each boot to allow ssh login.
- Add root password and define root home
- Add dropbear command in one of the startup scripts in /mnt/syb8634/etc