Email or username:

Password:

Forgot your password?
Gusted

Hey #gitea 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.

6 comments
Gusted

@emacsen you can run a SSH server without using OpenSSH, the Gitea binary comes included with one. You can enable it by setting `START_SSH_SERVER = true` under the `[server]` section docs.gitea.io/en-us/config-che . Using the internal SSH Server will automatically have this new behavior from 1.17.1(currently not released) and onwards.

PR: github.com/go-gitea/gitea/pull

Emacsen

@Gusted

What's the reason for using openssh with gitea then?

Gusted

@emacsen Go's SSH code lacks certain new cryptographic algorithms and it lacks behind on certain SSH RFCs. This cause annoying bugs with OpenSSH clients, which uses up-to-date SSH protocol standards, the most notorious example is github.com/go-gitea/gitea/issu . It's usually used when the machine doesn't have the agility to use OpenSSH.

Badeline (nicole)

@Gusted for reference: is there some docs or changelog referencing this?

Gusted

@uniporn Yes! github.com/go-gitea/gitea/pull however I'm afraid a lot of Gitea instance admins will never see this, which is a bummer.

Go Up