From d7c86d556fc465406b42d96cff6ba6b6ab0e3933 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Thu, 9 Jun 2011 15:15:31 +0200 Subject: fix dropbear plugin --- src/os-plugins/plugins/dropbear/XX_dropbear.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/os-plugins/plugins/dropbear') diff --git a/src/os-plugins/plugins/dropbear/XX_dropbear.sh b/src/os-plugins/plugins/dropbear/XX_dropbear.sh index b43844af..de25a6f0 100644 --- a/src/os-plugins/plugins/dropbear/XX_dropbear.sh +++ b/src/os-plugins/plugins/dropbear/XX_dropbear.sh @@ -39,12 +39,13 @@ if [ -e /initramfs/plugin-conf/dropbear.conf ]; then sed -i /etc/passwd -e "s/bash/sh/" # convert openssh rsa key to dropbear key - if available - if [ -e /mnt/etc/ssh/ssh_host_rsa_key ]; then - dropbearconvert openssh dropbear /mnt/etc/ssh/ssh_host_rsa_key \ - /etc/dropbear/dropbear_rsa_host_key - else - dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key - fi + #if [ -e /mnt/etc/ssh/ssh_host_rsa_key ]; then + # dropbearconvert openssh dropbear /mnt/etc/ssh/ssh_host_rsa_key \ + # /etc/dropbear/dropbear_rsa_host_key + #else + dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key + dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key + #fi echo "OpenSLX Debugshell (stage3)" >> /etc/motd -- cgit v1.2.3-55-g7522