no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | dropbear [2014/07/31 16:17] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== dropbear ====== | ||
+ | * [[monit]] | ||
+ | * [[OpenSSH]] | ||
+ | |||
+ | === Configuration === | ||
+ | |||
+ | * Port 222 | ||
+ | * Disallow root password logins | ||
+ | |||
+ | **Gentoo** | ||
+ | |||
+ | < | ||
+ | |||
+ | **CentOS** | ||
+ | |||
+ | Edit ''/ | ||
+ | |||
+ | < | ||
+ | |||
+ | === Debug Configuration / Login Issues === | ||
+ | |||
+ | Disable background fork and log to stdout. | ||
+ | |||
+ | < | ||
+ | dropbear -F -E -p 222 | ||
+ | </ | ||
+ | |||
+ | == Options == | ||
+ | |||
+ | Dropbear options: | ||
+ | |||
+ | * **-w** - disable root login | ||
+ | * **-s** - disable password authentication | ||
+ | * **-p** - use port # | ||
+ | * **-F** - Don't fork in background (for inittab) | ||
+ | * **-g** - no root password logins | ||
+ | |||
+ | == inittab == | ||
+ | |||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | === FreeBSD === | ||
+ | |||
+ | You need to patch ''/ | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | mkdir -p / | ||
+ | echo dropbear_enable=YES >> / | ||
+ | echo dropbear_args=\" | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== Ubuntu ==== | ||
+ | |||
+ | Configuration file is at ''/ | ||
+ | |||
+ | < | ||
+ | NO_START=0 | ||
+ | DROPBEAR_PORT=222 | ||
+ | DROPBEAR_EXTRA_ARGS="" | ||
+ | |||
+ | # Disable root logins | ||
+ | DROPBEAR_EXTRA_ARGS=" | ||
+ | |||
+ | # Disable password logins | ||
+ | DROPBEAR_EXTRA_ARGS=" | ||
+ | |||
+ | # Disable password logins for root | ||
+ | DROPBEAR_EXTRA_ARGS=" | ||
+ | </ |