From: Jameson Graef Rollins Date: Sat, 25 Oct 2008 19:02:54 +0000 (-0400) Subject: Merge commit 'dkg/master' X-Git-Tag: monkeysphere_0.16-1~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8473500c66d561b6b8a317d93199f5e653dd8980;p=monkeysphere.git Merge commit 'dkg/master' Conflicts: tests/basic --- 8473500c66d561b6b8a317d93199f5e653dd8980 diff --cc tests/basic index d73e162,e3cc42e..3f94856 --- a/tests/basic +++ b/tests/basic @@@ -88,17 -78,20 +88,20 @@@ gpgadmin --sign-key "$HOSTKEYID # indicate that the "Admin's" key is an identity certifier for the # host -echo "-- adding admin as certifier..." +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 < "$SSHD_CONFIG" -cat <> "$TEMPDIR"/sshd_config ++cat <> "$SSHD_CONFIG" HostKey ${MONKEYSPHERE_SYSDATADIR}/ssh_host_rsa_key + AuthorizedKeysFile ${MONKEYSPHERE_SYSDATADIR}/authorized_keys/%u EOF -# launch sshd with the new host key. -echo "-- starting sshd..." -socat EXEC:'/usr/sbin/sshd -f '"$TEMPDIR"/sshd_config' -i -d -d -d -D -e' "UNIX-LISTEN:${TEMPDIR/socket}" & +# launch test sshd with the new host key. +echo "### starting sshd..." +socat EXEC:'/usr/sbin/sshd -f '"$SSHD_CONFIG"' -i -d -d -d -D -e' "UNIX-LISTEN:${SOCKET}" & ### TESTUSER TESTS