diff options
Diffstat (limited to 'tests/basic')
-rwxr-xr-x | tests/basic | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/basic b/tests/basic index d73e162..3f94856 100755 --- a/tests/basic +++ b/tests/basic @@ -91,9 +91,12 @@ gpgadmin --sign-key "$HOSTKEYID" echo "### adding admin as certifier..." monkeysphere-server add-identity-certifier "$TESTDIR"/home/admin/.gnupg/pubkey.gpg +# initialize base sshd_config +cp etc/ssh/sshd_config "$TEMPDIR"/sshd_config # write the sshd_config -cat <<EOF > "$SSHD_CONFIG" +cat <<EOF >> "$SSHD_CONFIG" HostKey ${MONKEYSPHERE_SYSDATADIR}/ssh_host_rsa_key +AuthorizedKeysFile ${MONKEYSPHERE_SYSDATADIR}/authorized_keys/%u EOF # launch test sshd with the new host key. |