SSH_LISTEN_PORT config directive #205

Closed
opened 2025-11-02 03:13:53 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @sztanpet on GitHub (Jan 6, 2017).

I wanted to enable the built-in SSH server, but it was listening on port 0.
The directive to set the ssh listen port is not documented on https://docs.gitea.io/en-us/config-cheat-sheet/
I think it should default to the value of SSH_PORT if unset.
Not sure if this should be two issues or not (setting the default value and documenting the option).

Originally created by @sztanpet on GitHub (Jan 6, 2017). I wanted to enable the built-in SSH server, but it was listening on port 0. The directive to set the ssh listen port is not documented on https://docs.gitea.io/en-us/config-cheat-sheet/ I think it should default to the value of SSH_PORT if unset. Not sure if this should be two issues or not (setting the default value and documenting the option).
GiteaMirror added the type/bug label 2025-11-02 03:13:53 -06:00
Author
Owner

@lunny commented on GitHub (Jan 6, 2017):

SSH_PORT is will be shown in UI, SSH_LISTEN_PORT is the really listen port.

@lunny commented on GitHub (Jan 6, 2017): `SSH_PORT` is will be shown in UI, `SSH_LISTEN_PORT` is the really listen port.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#205