mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-12 05:52:10 +00:00
administration: Add docs for server.LFS_ALLOW_PURE_SSH (#49)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-on: https://gitea.com/gitea/docs/pulls/49 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: ConcurrentCrab <ishan1939.be21@chitkara.edu.in> Co-committed-by: ConcurrentCrab <ishan1939.be21@chitkara.edu.in>
This commit is contained in:
@@ -23,3 +23,21 @@ PATH = /home/gitea/data/lfs
|
||||
:::note
|
||||
LFS server support needs at least Git v2.1.2 installed on the server
|
||||
:::
|
||||
|
||||
# Git LFS Pure SSH protocol
|
||||
|
||||
The LFS Pure SSH protocol supports making LFS connections purely over SSH
|
||||
(without having to expose an HTTP endpoint for the Gitea server).
|
||||
Support for it can be enabled with the config option `server.LFS_ALLOW_PURE_SSH`:
|
||||
|
||||
```ini
|
||||
[server]
|
||||
LFS_ALLOW_PURE_SSH = true
|
||||
```
|
||||
|
||||
:::note
|
||||
The option is currently set to default false due to an open bug in the `git-lfs`
|
||||
client that causes SSH transfers to hang: https://github.com/git-lfs/git-lfs/pull/5816
|
||||
This can be worked around on all the client machines by setting the git config:
|
||||
`git config --global lfs.ssh.automultiplex false`
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user