modify import_key to take the key file to import as an argument. can be '-' to impor...
[monkeysphere.git] / tests / basic
index dea393fc391b6b662168775ff283577848326bcc..0b91531124d00e5caa4ac419615c7a132036d0a3 100755 (executable)
@@ -185,7 +185,7 @@ EOF
 echo "##################################################"
 echo "### import host key..."
 ssh-keygen -b 1024 -t rsa -N '' -f "$TEMPDIR"/ssh_host_rsa_key
-monkeysphere-host import-key testhost < "$TEMPDIR"/ssh_host_rsa_key
+monkeysphere-host import-key "$TEMPDIR"/ssh_host_rsa_key testhost
 
 echo "##################################################"
 echo "### getting host key fingerprint..."