1# vi: set ft=conf23# start soft serve4exec soft serve &5# wait for SSH server to start6ensureserverrunning SSH_PORT78# set settings9soft settings allow-keyless true10soft settings anon-access no-access1112# create a repo13soft repo create repo114git clone ssh://localhost:$SSH_PORT/repo1 repo115mkfile ./repo1/README.md '# Hello\n\nwelcome'16git -C repo1 add -A17git -C repo1 commit -m 'first'18git -C repo1 push origin HEAD1920# access repo from anon21! ugit clone ssh://localhost:$SSH_PORT/repo1 urepo122stderr 'Error: you are not authorized to do this'2324# list repo as anon25usoft repo list26stdout ''2728# create repo as anon29! usoft repo create urepo230stderr 'Error: unauthorized'3132# stop the server33[windows] stopserver