From 0842dfebf1e120a76a24049c6263ab0a84820bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD?= Date: Mon, 9 Oct 2023 01:48:48 +0600 Subject: [PATCH] Update github-ssh-auth.md --- content/posts/github-ssh-auth.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/posts/github-ssh-auth.md b/content/posts/github-ssh-auth.md index 650821a..d89baf6 100644 --- a/content/posts/github-ssh-auth.md +++ b/content/posts/github-ssh-auth.md @@ -6,13 +6,13 @@ tags: [linux, git, ssh] --- ## Генерация ключа -```shell +```bash ssh-keygen -t ed25519 -C "@" ``` ## Вывод публичного ключа -```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:/.git ```