summaryrefslogtreecommitdiffstats
path: root/rescue/startssh
diff options
context:
space:
mode:
authorMaarten Vanraes <alien@mageia.org>2011-10-25 19:02:19 +0000
committerMaarten Vanraes <alien@mageia.org>2011-10-25 19:02:19 +0000
commita06e43d2424a1f2ff139c62a72c51fd1121c7d16 (patch)
tree7e0af1ff9f204d95e21d0a1ff271425a1643f483 /rescue/startssh
parentc59fd01a5c71b03fb353062e8cb4f093dbd321e4 (diff)
downloaddrakx-a06e43d2424a1f2ff139c62a72c51fd1121c7d16.tar
drakx-a06e43d2424a1f2ff139c62a72c51fd1121c7d16.tar.gz
drakx-a06e43d2424a1f2ff139c62a72c51fd1121c7d16.tar.bz2
drakx-a06e43d2424a1f2ff139c62a72c51fd1121c7d16.tar.xz
drakx-a06e43d2424a1f2ff139c62a72c51fd1121c7d16.zip
- don't display key and fingerprint of ssh keys
Diffstat (limited to 'rescue/startssh')
-rwxr-xr-xrescue/startssh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/startssh b/rescue/startssh
index 4c48d8291..4c585bc7f 100755
--- a/rescue/startssh
+++ b/rescue/startssh
@@ -10,8 +10,8 @@ fi
sed -E -i -e 's/^root:[^:]*:/root:'"$passwd"':/' /etc/passwd
mkdir -p /etc/dropbear
-[[ -f /etc/dropbear/dropbear_dss_host_key ]] || dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
-[[ -f /etc/dropbear/dropbear_rsa_host_key ]] || dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
+[[ -f /etc/dropbear/dropbear_dss_host_key ]] || dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key >/dev/null
+[[ -f /etc/dropbear/dropbear_rsa_host_key ]] || dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key >/dev/null
echo ""
echo -n "Starting ssh daemon... "