Gentoo
DROPBEAR_OPTS="-p 222 -g"
CentOS
Edit /etc/sysconfig/dropbear
and add:
DROPBEAR_OPTS="-p 222 -g"
Disable background fork and log to stdout.
dropbear -F -E -p 222
Dropbear options:
/usr/sbin/dropbear -F -g -p 222
Configuration file is at /etc/default/dropbear
:
NO_START=0 DROPBEAR_PORT=222 DROPBEAR_EXTRA_ARGS="" # Disable root logins DROPBEAR_EXTRA_ARGS="-w $DROPBEAR_EXTRA_ARGS" # Disable password logins DROPBEAR_EXTRA_ARGS="-s $DROPBEAR_EXTRA_ARGS" # Disable password logins for root DROPBEAR_EXTRA_ARGS="-g $DROPBEAR_EXTRA_ARGS"