Hey instance admins. Do you have SSH for your Gitea instance enabled via OpenSSH? Then be aware that you should add `AcceptEnv GIT_PROTOCOL` to your `/etc/ssh/sshd_config` file! This enables Git Wire Protocol v2 for Git over SSH.

If you're using Gitea's Internal SSH Server, this behavior will be enabled in v1.17.1

Boost are are welcome for awareness.

@Gusted Is there an env var/app.ini value that enables this on 1.17.0? (containerised)

@michael Are you running Gitea in docker?

You don't need any changes in app.ini, if you're using the OpenSSH server(so the sshd daemon) then you need to append `AcceptEnv GIT_PROTOCOL` to your `/etc/ssh/sshd_config` file. But if you're using the SSH Internal Server, you just need to wait until 1.17.1 is released.

@michael Looking at your screenshot it seems you're using the OpenSSH server. Yes it does say that Git support the Wire V2 protocol, however currently when using Git over SSH the information that the Git client also support Wire V2 protocol isn't passed trough.

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Mastodon for Tech Folks

mastodon.technology is shutting down by the end of 2022. Please migrate your data immediately. This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!