Affected by GO-2025-4261
and 2 other vulnerabilities
GO-2025-4261 : Gitea allows attackers to add attachments with forbidden file extensions in code.gitea.io/gitea
GO-2026-6080 : Gitea: Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag in go-gitea/gitea
GO-2026-6433 : Gitea: Remote Code Execution via diffpatch Git Hook Installation in gitea.dev
Discover Packages
code.gitea.io/gitea
modules
ssh
package
Version:
v1.26.4
Opens a new window with list of versions in this module.
Published: Jun 21, 2026
License: MIT
Opens a new window with license information.
Imports: 26
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
GenKeyPair make a pair of public and private keys for SSH access.
Public key is encoded in the format for inclusion in an OpenSSH authorized_keys file.
Private Key generated is PEM encoded
Listen starts an SSH server listening on given port.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.