Any Git server
For a Git server that is not one of the services OpenPanel knows, or when you want to give OpenPanel one repository only, add the repository itself. Each such account is one repository.
| Git over SSH | Git over HTTPS | |
|---|---|---|
| Credentials | A deploy key OpenPanel makes for this repository | A username and a password or token; none for a public repository |
| Access | Read-only, this repository only | Whatever the credentials allow |
| Private network | Possible | Possible |
Git over SSH
Enter the repository
In Organization settings → Git accounts, choose Add Git account → Git over SSH, and enter the Repository URL in one of these forms:
[email protected]:team/app.git
ssh://[email protected]:2222/team/app.gitUse the ssh:// form when SSH runs on a port other than 22. For a server inside your private network, turn on Reached through the private network (see Private Git servers). Choose Make the key.
Add the deploy key to the repository
OpenPanel makes an Ed25519 key for this repository, saves the account, and shows the key's public half with a copy button. Add it to the repository as a read-only deploy key:
| Host | Where |
|---|---|
| GitHub | The repository's Settings → Deploy keys → Add deploy key; leave Allow write access off. |
| GitLab | The project's Settings → Repository → Deploy keys; leave Grant write permissions off. |
| Gitea, Forgejo, Codeberg | The repository's Settings → Deploy keys → Add deploy key; leave Enable write access off. |
| Bitbucket | The repository's Repository settings → Access keys → Add key. Access keys are read-only. |
Check it
Choose I added it, check now. When the host accepts the key, the console says "The repository answered", with its default branch and number of refs.
Choose Later to check it another time: the account stays Waiting until the key works. The key is in the account's menu under Deploy key whenever you need it again.
OpenPanel records the Git server's host key at the first check and refuses a server that later answers with another one: "The host's identity changed since it was first checked." If the Git server was reinstalled, remove the account and add it again.
| The console says | What to do |
|---|---|
| The host did not accept OpenPanel's key. Add the deploy key to the repository (read-only), then check again. | Add the deploy key, or check that you added it to this repository. |
| The repository was not found, or the deploy key has no access to it. | Check the repository path and the deploy key. |
| … did not answer on port … | Check the host and port, and that the Git server accepts SSH from the internet (or from your private network). |
Git over HTTPS
- In Organization settings → Git accounts, choose Add Git account → Git over HTTPS.
- Repository URL: the repository's clone URL, for example
https://git.example.com/team/app.git. Usehttp://only for a server that does not serve HTTPS, such as one inside your private network. - Username and Password or token: credentials that can read the repository. Prefer a token made for OpenPanel over your own password. For a public repository, leave both empty.
- Choose Add account.
OpenPanel asks the repository for its branches, first without credentials and then with them when the server asks for them, as Git itself does. If the check fails, nothing is saved.
| The console says | What to do |
|---|---|
| The repository is private. Enter a username and a password or token. | Add credentials. |
| The repository did not accept this username and password or token. | Check them; a token may need read access to the repository. |
| No repository answered at this address. Check the URL. | Copy the clone URL again; it usually ends in .git. |
| This address does not answer like a Git repository over HTTPS. | Use the clone URL, not the repository's web page. |
| The repository answered with a redirect to …. Enter the address it redirects to. | OpenPanel follows no redirects: enter the final address. |
Bitbucket Cloud
Connect a Bitbucket Cloud account to OpenPanel with your Atlassian account email and an API token with Bitbucket scopes.
Plans and prices
The Servers plan, €20 a month for your first five servers and €5 for each server after that, what a server you buy from us adds, and why Cloud is not available yet.