Forgejo: Difference between revisions

From 44Net Wiki
KN6DWI (talk | contribs)
Described changing SSH to nonstandard port
KN6DWI (talk | contribs)
Created sections
Line 5: Line 5:


To change your SSH port, edit <code>/etc/ssh/sshd_config</code>, uncomment the line starting with <code>Port</code>, and change the number to something other than 22. Open the corresponding port in your firewall. For more information on firewall configuration, see [[Firewalling Basics]].
To change your SSH port, edit <code>/etc/ssh/sshd_config</code>, uncomment the line starting with <code>Port</code>, and change the number to something other than 22. Open the corresponding port in your firewall. For more information on firewall configuration, see [[Firewalling Basics]].
== Step 1: Install Forgejo ==
== Step X: Validate Forgejo functionality ==
== Troubleshooting ==

Revision as of 00:08, 10 September 2026

Forgejo is an open source git forge that aims to implement federation using the ActivityPub protocol. It can be self-hosted to provide code collaboration services similar to GitHub, such as remote git repositories, issue tracking, and pull/merge requests.

Step 0 (Optional): Change your SSH to a nonstandard port

Git forges provide the ability to interact via HTTP or SSH. If you want users to interact with your Forgejo instance using the standard SSH port, and you have an existing SSH server on the same device, you must move your regular SSH server to another port. Forgejo supports SSH over other ports, but all of your users will have to specify that port in their git clone commands or configure it in their ~/.ssh/ssh_config file.

To change your SSH port, edit /etc/ssh/sshd_config, uncomment the line starting with Port, and change the number to something other than 22. Open the corresponding port in your firewall. For more information on firewall configuration, see Firewalling Basics.

Step 1: Install Forgejo

Step X: Validate Forgejo functionality

Troubleshooting