Comments on Chrooted Drop Bear SSH Server HowTo
This tutorial is being written to help you install Drop Bear SSH server into a chroot environment. Dropbear is a relatively small SSH 2 server and client. It is an alternative lightweight program for OpenSSH and it is designed for environments with low memory and processor resources, such as embedded systems.
4 Comment(s)
Add comment
Comments
By: Olivier
Why not use Jailkit? It can automate much of this work?
By: weakish
1, In section users, when creating the user home directory, we need to add the -p option, since we haven't create the home directory before. That is, instead of
mkdir home/ebalusing
mkdir -p home/ebal2, In the same section: Use "." to distinguish user and group is deprecated. In recent versions of chown, you should use this syntax
user:group
.
By: Klaus
i don't understand this lol
By: Marc
IMPORTANT: transfer also the /etc/pam.d folder to the chrooted folder.