diff options
author | Maarten Vanraes <alien@mageia.org> | 2011-10-25 19:02:19 +0000 |
---|---|---|
committer | Maarten Vanraes <alien@mageia.org> | 2011-10-25 19:02:19 +0000 |
commit | 9733292408917f57f9ce4038dd9916cb6ba68533 (patch) | |
tree | 7e0af1ff9f204d95e21d0a1ff271425a1643f483 /rescue | |
parent | 18a7bef92c338aee7c216d57f1eb720f9a039b36 (diff) | |
download | drakx-backup-do-not-use-9733292408917f57f9ce4038dd9916cb6ba68533.tar drakx-backup-do-not-use-9733292408917f57f9ce4038dd9916cb6ba68533.tar.gz drakx-backup-do-not-use-9733292408917f57f9ce4038dd9916cb6ba68533.tar.bz2 drakx-backup-do-not-use-9733292408917f57f9ce4038dd9916cb6ba68533.tar.xz drakx-backup-do-not-use-9733292408917f57f9ce4038dd9916cb6ba68533.zip |
- don't display key and fingerprint of ssh keys
Diffstat (limited to 'rescue')
-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... " |