想问一下 如何获取docker里面gogs 的版本号，在里面没有找到
OpenSSH 8.8p1 does not have ssh-rsa anymore, but built-in SSH server does not support anything except ssh-rsa
Describe the bug After update to 8.8 git clone via built-in SSH server does not work. Error in log:
[gogs.io/gogs/internal/ssh/ssh.go:151 func1()] SSH: Error on handshaking: ssh: no common algorithm for host key; client offered: [[email protected] [email protected] rsa-sha2-512 rsa-sha2-256 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] ssh-ed25519 ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 [email protected] [email protected]], server offered: [ssh-rsa]
Gogs version and commit 0.12.3 https://github.com/gogs/gogs/commit/f0e3cd90f8d7695960eeef2e4e54b2e717302f6c
Git version git version 2.33.0
Operating system Centos 7 server, Arch Linux client
To Reproduce Just do "git clone" on system with OpenSSH 8.8 and you will get error "no matching host key type found. Their offer: ssh-rsa" and that error in GOGS log.
Can you reproduce the bug at https://try.gogs.io? I cannot, as try.gogs.io seems does not work properly.
ssh: connect to host try.gogs.io port 22: Network is unreachable fatal: Could not read from remote repository.``` **Expected behavior** git clone should work (and everything else) **Actual behavior** git clone fails with error