Cosmetic: /admin/config reports not using builtin SSH server when it is enabled #7100

Closed
opened 2025-11-02 07:15:51 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @danielfdickinson on GitHub (Apr 1, 2021).

NB Gitea version, OS, environment etc, below

Summary

/admin/config shows

image

but the Gitea is serving SSH (the system SSHD is also serving SSH, but on a different port)

Versions, OS, Environment

  • Gitea version 1.14.0-rc2 built with GNU Make 4.1, go1.16.2 : bindata, sqlite, sqlite_unlock_notify
  • Downloads from gitea.io downloads list
  • Started via systemd using gitea.service from gitea.io
  • Running on Ubuntu 20.04 server
  • SQLite
  • git version 2.25.1
  • Can you reproduce the bug at https://try.gitea.io:
    • No, would require admin access to see the /admin/config page

Relevant section of app.ini

[server]
DISABLE_SSH      = false
SSH_PORT         = 22
OFFLINE_MODE     = false
START_SSH_SERVER = true
gitea.log:2021/04/01 03:48:04 modules/ssh/ssh.go:289:Listen() [I] Adding SSH host key: /srv/gitea/lib/data/ssh/gogs.rsa
gitea.log:2021/04/01 03:48:04 routers/init.go:188:GlobalInit() [I] SSH server started on :22. Cipher list ([aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com arcfour256 arcfour128]), key exchange algorithms ([diffie-hellman-group1-sha1 diffie-hellman-group14-sha1 ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 curve25519-sha256@libssh.org]), MACs ([hmac-sha2-256-etm@openssh.com hmac-sha2-256 hmac-sha1 hmac-sha1-96])
gitea.log:2021/04/01 03:48:04 ...s/graceful/server.go:55:NewServer() [I] Starting new SSH server: tcp::22 on PID: 1068245
Originally created by @danielfdickinson on GitHub (Apr 1, 2021). **NB** Gitea version, OS, environment etc, below ## Summary ``/admin/config`` shows ![image](https://user-images.githubusercontent.com/20735818/113267008-dec97000-92a3-11eb-9f58-4f347e1c2ea6.png) but the Gitea is serving SSH (the system SSHD is also serving SSH, but on a different port) ## Versions, OS, Environment * Gitea version 1.14.0-rc2 built with GNU Make 4.1, go1.16.2 : bindata, sqlite, sqlite_unlock_notify * Downloads from gitea.io downloads list * Started via systemd using gitea.service from gitea.io * Running on Ubuntu 20.04 server * SQLite * git version 2.25.1 - Can you reproduce the bug at https://try.gitea.io: * No, would require admin access to see the /admin/config page ## Relevant section of ``app.ini`` ``` [server] DISABLE_SSH = false SSH_PORT = 22 OFFLINE_MODE = false START_SSH_SERVER = true ``` ``` gitea.log:2021/04/01 03:48:04 modules/ssh/ssh.go:289:Listen() [I] Adding SSH host key: /srv/gitea/lib/data/ssh/gogs.rsa gitea.log:2021/04/01 03:48:04 routers/init.go:188:GlobalInit() [I] SSH server started on :22. Cipher list ([aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com arcfour256 arcfour128]), key exchange algorithms ([diffie-hellman-group1-sha1 diffie-hellman-group14-sha1 ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 curve25519-sha256@libssh.org]), MACs ([hmac-sha2-256-etm@openssh.com hmac-sha2-256 hmac-sha1 hmac-sha1-96]) gitea.log:2021/04/01 03:48:04 ...s/graceful/server.go:55:NewServer() [I] Starting new SSH server: tcp::22 on PID: 1068245 ```
Author
Owner

@danielfdickinson commented on GitHub (Apr 16, 2021):

This is resolved in 1.14.1 (at least, if not 1.14.0)

@danielfdickinson commented on GitHub (Apr 16, 2021): This is resolved in 1.14.1 (at least, if not 1.14.0)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7100