From 5f29ad789dda115b477d53fbedd3a71b64962e27 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sat, 25 Oct 2008 14:17:34 -0400 Subject: test now has better sshd configuration. --- tests/basic | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/basic') diff --git a/tests/basic b/tests/basic index b9ae8f1..e3cc42e 100755 --- a/tests/basic +++ b/tests/basic @@ -81,9 +81,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 < "$TEMPDIR"/sshd_config +cat <> "$TEMPDIR"/sshd_config HostKey ${MONKEYSPHERE_SYSDATADIR}/ssh_host_rsa_key +AuthorizedKeysFile ${MONKEYSPHERE_SYSDATADIR}/authorized_keys/%u EOF # launch sshd with the new host key. -- cgit v1.2.3