From 840417d7b56b7c632f51d19537313a996416f8fd Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Fri, 27 Oct 2023 15:37:48 -0400 Subject: [PATCH] fix: disable pure ssh lfs by default --- README.md | 4 +++- pkg/config/config.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a8544f051..c02744c5b 100644 --- a/README.md +++ b/README.md @@ -208,7 +208,7 @@ lfs: # Enable Git LFS. enabled: true # Enable Git SSH transfer. - ssh_enabled: true + ssh_enabled: false # Cron job configuration jobs: @@ -268,6 +268,8 @@ Soft Serve supports both Git LFS [HTTP](https://github.com/git-lfs/git-lfs/blob/ Use the `lfs` config section to customize your Git LFS server. +> **Note**: The pure-SSH transfer is disabled by default. + ## Server Access Soft Serve at its core manages your server authentication and authorization. Authentication verifies the identity of a user, while authorization determines their access rights to a repository. diff --git a/pkg/config/config.go b/pkg/config/config.go index e1124204f..aed4a9d1f 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -339,7 +339,7 @@ func DefaultConfig() *Config { }, LFS: LFSConfig{ Enabled: true, - SSHEnabled: true, + SSHEnabled: false, }, } }