diff options
Diffstat (limited to 'rescue/startssh')
-rwxr-xr-x | rescue/startssh | 4 |
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... " |