ssh usage: cosmetic changes
This commit is contained in:
parent
d545fd3dbc
commit
09659373e7
|
@ -6,7 +6,7 @@ eleventyNavigation:
|
|||
order: 40
|
||||
---
|
||||
|
||||
Before you are able to access git repositories via SSH you need to [add a SSH key to your account](/security/ssh-key).
|
||||
Before you are able to access Git repositories via SSH you need to [add an SSH key to your account](/security/ssh-key).
|
||||
|
||||
> **Warning**
|
||||
> Please make sure that before connecting to Codeberg via SSH,
|
||||
|
|
|
@ -12,9 +12,9 @@ with Codeberg.
|
|||
There are 3 ways to interact with a git repository hosted on Codeberg:
|
||||
1. [via the SSH protocol](/git/clone-commit-via-ssh)
|
||||
2. [via the HTTPS protocol](/git/clone-commit-via-http)
|
||||
3. [Using the website](/git/clone-commit-via-web/)
|
||||
3. [Using the website](/git/clone-commit-via-web/)
|
||||
|
||||
Option 1 and 2 require a git client (CLI or GUI, your choice) installed on your local system.
|
||||
Option 1 and 2 require a Git client of your choice [installed on your local system](/getting-started/install-git/).
|
||||
|
||||
On clients regularly used to access codeberg we recommend the use of the [SSH protocol](https://de.wikipedia.org/wiki/Secure_Shell).
|
||||
We recommend the use of the [SSH protocol](https://en.wikipedia.org/wiki/Secure_Shell_Protocol).
|
||||
It offers improved security through key-based access (stronger protection than a regular password) and better usability (no need to provide credentials on every git action).
|
||||
|
|
|
@ -6,6 +6,4 @@ Welcome to the Codeberg Documentation pages!
|
|||
<span class="wide-only">Please choose a section from the main menu on the left.</span>
|
||||
<span class="narrow-only">Please choose a section from the main menu, which you can access by clicking/touching the three stripes at the top right.</span>
|
||||
|
||||
If you're new to Codeberg, consider reading the [Getting Started Guide](/getting-started).
|
||||
|
||||
> Please note that this is a **Work in Progress**.
|
||||
|
|
|
@ -29,11 +29,11 @@ It is recommended to use one key per client. It means if you access your Codeber
|
|||
> Enter a file in which to save the key (/c/Users/you/.ssh/id_rsa):[Press enter]
|
||||
```
|
||||
|
||||
4. Enter a passphrase if you want.
|
||||
4. You will be asked for a passphrase, enter on if you like to or leave the prompt empty.
|
||||
|
||||
The private key part of your SSH key can be protected by a passphrase. This adds an additional layer of authentication which increases security. Be aware that this will only be helpful for certain attack scenarios and does not offer 100% protection. It is recommended to keep your private key safe and - well - private.
|
||||
|
||||
If you are using a passphrase-protected SSH key the use of a ssh agent is strongly encouraged for improved usability. You need to enter the passphrase only once during a session.
|
||||
If you are using a passphrase-protected SSH key, the use of a ssh agent is strongly encouraged for improved usability. You need to enter the passphrase only once during a session.
|
||||
|
||||
## Add the SSH key to Codeberg
|
||||
1. Copy the SSH key to your clipboard. Attention: Copy only the public part of the key not the private one. You can identify it by the `.pub` extension. By default, you can find the public key in `$HOME/.ssh/id_rsa.pub`.
|
||||
|
|
Loading…
Reference in a new issue