2019-11-27

next64 - Dropbear - daemons.conf


Dropbear - daemons.conf

Starting SSH server: Dropbear...                                     [ Failed ]

# Dropbear SSH server options.
DROPBEAR_OPTIONS="-w -g -b /etc/dropbear/banner"      ??



tux@slitaz:~$ uname -a
Linux slitaz 4.17.7-slitaz #2 SMP Sat Jul 21 03:23:55 UTC 2018 x86_64 GNU/Linux

tux@slitaz:~$ sudo /etc/init.d/dropbear start
Starting SSH server: Dropbear...                                     [ Failed ]

tux@slitaz:~$ ls -l /etc/dropbear/
total 4
-rw-r--r--    1 root     root            66 Mar 23  2018 banner
-rw-r--r--    1 root     root             0 Jul 20  2018 dropbear_dss_host_key
-rw-r--r--    1 root     root             0 Jul 20  2018 dropbear_ecdsa_host_key
-rw-r--r--    1 root     root             0 Jul 20  2018 dropbear_rsa_host_key

tux@slitaz:~$ sudo rm -f /etc/dropbear/*key

tux@slitaz:~$ sudo /etc/init.d/dropbear start
Generating Dropbear rsa key...                                       [ Done ]
Generating Dropbear dss key...                                       [ Done ]
Generating Dropbear ecdsa key...                                     [ Done ]
Starting SSH server: Dropbear...                                     [ Done ]

tux@slitaz:~$ ls -l /etc/dropbear/
total 16
-rw-r--r--    1 root     root            66 Mar 23  2018 banner
-rw-------    1 root     root           458 Nov 25 11:37 dropbear_dss_host_key
-rw-------    1 root     root           140 Nov 25 11:37 dropbear_ecdsa_host_key
-rw-------    1 root     root           805 Nov 25 11:37 dropbear_rsa_host_key

tux@slitaz:~$ ssh root@127.0.0.1

Host '127.0.0.1' is not in the trusted hosts file.
(ecdsa-sha2-nistp256 fingerprint sha1!! e3:94:50:9e:f5:7d:65:6c:63:61:4f:ac:41:7c:9c:bf:6e:82:34:22)
Do you want to continue connecting? (y/n) y
root@127.0.0.1's password:

root@slitaz:~# cat /etc/daemons.conf
# Domain name server options.
DNSD_OPTIONS="-d"

# Tftp daemon options.
TFTPD_OPTIONS="-r /boot"

# DBUS daemon options.
DBUS_OPTIONS="--system"


# wpa_supplicant daemon options
WPA_OPTIONS="-B -u -P /var/run/wpa_supplicant.pid -c /etc/wpa/wpa.conf -i $(. /etc/network.conf; echo $WIFI_INTERFACE)"

root@slitaz:~#