mirror of
https://github.com/fruworg/fruworg.github.io.git
synced 2025-01-18 20:00:51 +03:00
Update github-ssh-auth.md
This commit is contained in:
parent
866c950a41
commit
0842dfebf1
@ -6,13 +6,13 @@ tags: [linux, git, ssh]
|
||||
---
|
||||
## Генерация ключа
|
||||
|
||||
```shell
|
||||
```bash
|
||||
ssh-keygen -t ed25519 -C "<your>@<ema.il>"
|
||||
```
|
||||
|
||||
## Вывод публичного ключа
|
||||
|
||||
```shell
|
||||
```bash
|
||||
cat ~/.ssh/id_ed25519.pub
|
||||
```
|
||||
|
||||
@ -22,6 +22,6 @@ cat ~/.ssh/id_ed25519.pub
|
||||
|
||||
## Аутентификация в GitHub
|
||||
|
||||
```shell
|
||||
```bash
|
||||
git remote set-url origin git@github.com:<username>/<reponame>.git
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user