From 7b4c74f3c318726b6117a3682fef7c4a240e8d7f Mon Sep 17 00:00:00 2001 From: chee Date: Wed, 18 Nov 2020 09:59:42 +0000 Subject: [PATCH] Update readme.md --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index dcb541e..c4415f8 100644 --- a/readme.md +++ b/readme.md @@ -7,8 +7,8 @@ when you click listen in the browser, it starts a GET request which makes the server open a unix socket that's owned by your user in `/snoot/auth/socks/your-uid.sock`. -there is an ssh server running on port 2424, -which has a ForceCommand setting set to a command called `succeed` +there is an ssh server running on port 2424, ([config](https://git.snoot.club/chee/snootauth/-/blob/master/config/sshd)) +which has a ForceCommand setting set to a command called [succeed](https://git.snoot.club/chee/snootauth/-/blob/master/succeed/src/main.rs) that writes the word success to the socket belonging to your user at which point it immediately exists and says "Thank-you! you can return to your browser" @@ -16,7 +16,7 @@ return to your browser" the GET request to listen receives the "success" and returns, setting a cookie for you on the snoot you are on -and now there is a file that is only read-writeable +and now there is a file that is [only read-writeable](https://git.snoot.club/chee/snootauth/-/blob/master/own/src/main.rs) by the snoot whose site the user is trying to log in to (and the snootauth program, so it can delete or replace them)