From d175b5f17cb1f581fbf53fc3c34d0fcd463f80d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 20 Aug 2024 13:03:57 +0200 Subject: [PATCH] Fix path to borg executable in authorized_keys file --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index bf347f7..5759f30 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -25,7 +25,7 @@ create_ssh_config() { if [[ -n "$quota" ]]; then extra="--storage-quota $quota" fi - command="borg serve $extra --restrict-to-repository $repository" + command="$install_dir/venv/bin/borg serve $extra --restrict-to-repository $repository" ssh_opts="command=\"$command\",no-pty,no-agent-forwarding,no-port-forwarding,no-X11-forwarding,no-user-rc" mkdir -p "$ssh_dir"