Welcome to the acces.sh daemon repository. Binaries for Debian distributions are distributed in the release section.
The complete list of changes is available here
To build the Daemon you need:
- .net SDK 6.0.0
To start working on the Daemon, you can build the main branch:
- Clone the repo:
git clone https://github.com/Acces-sh/daemon.gitand cd into. - Restore project's dependencies :
dotnet restore - Inside
src\Daemon.Host, editconfig.jsonfile, updateApiTokenfield with a valid API Key, and updateAuthorizedKeyFilePathwith a valid path.- Linux & MacOs, use
/for path ex:/root/.ssh/authorized_keys - Windows, use
\for path ex:C:\authorized_keys
- Linux & MacOs, use
- Also edit the
Configurations/core.jsonfile and updateConfigurationFilePathfield with the path of build
"ConfigurationFilePath": "ABSOLUTE_PATH_OF_PROJECT/src/Daemon.Host/bin/Debug/net6.0/" - Build the Daemon with
dotnet build - Run Daemon with
dotnet run
version: "3.9"
services:
daemon:
image: ghcr.io/acces-sh/daemon
volumes:
- "/root/.ssh/authorized_keys:/app/authorized_keys/"
environment:
API_TOKEN: "YOUR_TOKEN"